RemoteActionGroup
The GRemoteActionGroup
interface is implemented by iface@Gio.ActionGroup 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 iface@Gio.ActionGroup used to activate actions: method@Gio.ActionGroup.activate_action and method@Gio.ActionGroup.change_action_state. These variants allow a ‘platform data’ struct@GLib.Variant to be specified: a dictionary providing context for the action invocation (for example: timestamps, startup notification IDs, etc).
class@Gio.DBusActionGroup implements GRemoteActionGroup
. This provides a mechanism to send platform data for action invocations over D-Bus.
Additionally, method@Gio.DBusConnection.export_action_group will check if the exported iface@Gio.ActionGroup 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 signal@Gio.ActionGroup::action-added signal on @action_group.
Emits the signal@Gio.ActionGroup::action-enabled-changed signal on @action_group.
Emits the signal@Gio.ActionGroup::action-removed signal on @action_group.
Emits the signal@Gio.ActionGroup::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.
Signals that the enabled status of the named action has changed.
Signals that an action is just about to be removed from the group.
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.