Package ch.bailu.gtk.gio
Klasse RemoteActionGroup
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.type.PropertyHolder
ch.bailu.gtk.type.Interface
ch.bailu.gtk.gio.RemoteActionGroup
- Alle implementierten Schnittstellen:
PointerInterface
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.
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.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Feldübersicht
Von Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
activateActionFull
(Str action_name, Variant parameter, Variant platform_data) Activates the remote action.void
activateActionFull
(String action_name, Variant parameter, Variant platform_data) Activates the remote action.void
changeActionStateFull
(Str action_name, Variant value, Variant platform_data) Changes the state of a remote action.void
changeActionStateFull
(String action_name, Variant value, Variant platform_data) Changes the state of a remote action.static ClassHandler
static int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrProperty
Von Klasse geerbte Methoden ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
RemoteActionGroup
-
-
Methodendetails
-
getClassHandler
-
activateActionFull
public void activateActionFull(@Nonnull Str action_name, @Nullable Variant parameter, @Nonnull Variant platform_data) Activates the remote action.
This is the same as g_action_group_activate_action() except that it
allows for provision of "platform data" to be sent along with the
activation request. This typically contains details such as the user
interaction timestamp or startup notification information.
@platform_data must be non-%NULL and must have the type
%G_VARIANT_TYPE_VARDICT. If it is floating, it will be consumed.- Parameter:
action_name
- the name of the action to activateparameter
- the optional parameter to the activationplatform_data
- the platform data to send
-
activateActionFull
public void activateActionFull(String action_name, @Nullable Variant parameter, @Nonnull Variant platform_data) Activates the remote action.
This is the same as g_action_group_activate_action() except that it
allows for provision of "platform data" to be sent along with the
activation request. This typically contains details such as the user
interaction timestamp or startup notification information.
@platform_data must be non-%NULL and must have the type
%G_VARIANT_TYPE_VARDICT. If it is floating, it will be consumed.- Parameter:
action_name
- the name of the action to activateparameter
- the optional parameter to the activationplatform_data
- the platform data to send
-
changeActionStateFull
public void changeActionStateFull(@Nonnull Str action_name, @Nonnull Variant value, @Nonnull Variant platform_data) Changes the state of a remote action.
This is the same as g_action_group_change_action_state() except that
it allows for provision of "platform data" to be sent along with the
state change request. This typically contains details such as the
user interaction timestamp or startup notification information.
@platform_data must be non-%NULL and must have the type
%G_VARIANT_TYPE_VARDICT. If it is floating, it will be consumed.- Parameter:
action_name
- the name of the action to change the state ofvalue
- the new requested value for the stateplatform_data
- the platform data to send
-
changeActionStateFull
public void changeActionStateFull(String action_name, @Nonnull Variant value, @Nonnull Variant platform_data) Changes the state of a remote action.
This is the same as g_action_group_change_action_state() except that
it allows for provision of "platform data" to be sent along with the
state change request. This typically contains details such as the
user interaction timestamp or startup notification information.
@platform_data must be non-%NULL and must have the type
%G_VARIANT_TYPE_VARDICT. If it is floating, it will be consumed.- Parameter:
action_name
- the name of the action to change the state ofvalue
- the new requested value for the stateplatform_data
- the platform data to send
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-