gio.remote_action_group
Module for [RemoteActionGroup] interface
Types 2
The [gio.remote_action_group.RemoteActionGroup] interface is implemented by [gio.action_group.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 [gio.action_group.ActionGroup] used to activate actions: [gio.action_group.ActionGroup.activateAction] and [gio.action_group.ActionGroup.changeActionState]. These variants allow a ‘platform data’ [glib.variant.Variant] to be specified: a dictionary providing context for the action invocation (for example: timestamps, startup notification IDs, etc).
[gio.dbus_action_group.DBusActionGroup] implements [gio.remote_action_group.RemoteActionGroup]. This provides a mechanism to send platform data for action invocations over D-Bus.
Additionally, [gio.dbus_connection.DBusConnection.exportActionGroup] will check if the exported [gio.action_group.ActionGroup] implements [gio.remote_action_group.RemoteActionGroup] 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.
void activateActionFull(string actionName, glib.variant.Variant parameter, glib.variant.Variant platformData)Activates the remote action.void changeActionStateFull(string actionName, glib.variant.Variant value, glib.variant.Variant platformData)Changes the state of a remote action.