RemoteActionGroup
The GRemoteActionGroup interface is implemented by #GActionGroup instances that either transmit action invocations to other processes or receive action invocations in the local process from other processes.
The interface has _full
variants of the two methods on #GActionGroup used to activate actions: g_action_group_activate_action() and g_action_group_change_action_state(). These variants allow a "platform data" #GVariant to be specified: a dictionary providing context for the action invocation (for example: timestamps, startup notification IDs, etc).
#GDBusActionGroup implements #GRemoteActionGroup. This provides a mechanism to send platform data for action invocations over D-Bus.
Additionally, g_dbus_connection_export_action_group() will check if the exported #GActionGroup implements #GRemoteActionGroup and use the _full
variants of the calls if available. This provides a mechanism by which to receive platform data for action invocations that arrive by way of D-Bus.
Since
2.32
Inheritors
Properties
Functions
Emits the #GActionGroup::action-added signal on @action_group.
Emits the #GActionGroup::action-enabled-changed signal on @action_group.
Emits the #GActionGroup::action-removed signal on @action_group.
Emits the #GActionGroup::action-state-changed signal on @action_group.
Activate the named action within @action_group.
Activates the remote action.
Request for the state of the named action within @action_group to be changed to @value.
Changes the state of a remote action.
Signals that a new action was just added to the group. This signal is emitted after the action has been added and is now visible.
Signals that the enabled status of the named action has changed.
Signals that an action is just about to be removed from the group. This signal is emitted before the action is removed, so the action is still visible and can be queried from the signal handler.
Signals that the state of the named action has changed.
Checks if the named action within @action_group is currently enabled.
Queries the type of the parameter that must be given when activating the named action within @action_group.
Queries the current state of the named action within @action_group.
Requests a hint about the valid range of values for the state of the named action within @action_group.
Queries the type of the state of the named action within
Lists the actions contained within @action_group.