mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-02 17:26:17 +01:00
docs: Move the GRemoteActionGroup SECTION
Move it to the struct docs. Signed-off-by: Philip Withnall <philip@tecnocode.co.uk> Helps: #3037
This commit is contained in:
parent
bfa5d99305
commit
8c3e0aa406
@ -27,43 +27,33 @@
|
|||||||
#include "gaction.h"
|
#include "gaction.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SECTION:gremoteactiongroup
|
* GRemoteActionGroup:
|
||||||
* @title: GRemoteActionGroup
|
|
||||||
* @short_description: A GActionGroup that interacts with other processes
|
|
||||||
* @include: gio/gio.h
|
|
||||||
*
|
*
|
||||||
* The GRemoteActionGroup interface is implemented by #GActionGroup
|
* The `GRemoteActionGroup` interface is implemented by [iface@Gio.ActionGroup]
|
||||||
* instances that either transmit action invocations to other processes
|
* instances that either transmit action invocations to other processes
|
||||||
* or receive action invocations in the local process from other
|
* or receive action invocations in the local process from other
|
||||||
* processes.
|
* processes.
|
||||||
*
|
*
|
||||||
* The interface has `_full` variants of the two
|
* The interface has `_full` variants of the two
|
||||||
* methods on #GActionGroup used to activate actions:
|
* methods on [iface@Gio.ActionGroup] used to activate actions:
|
||||||
* g_action_group_activate_action() and
|
* [method@Gio.ActionGroup.activate_action] and
|
||||||
* g_action_group_change_action_state(). These variants allow a
|
* [method@Gio.ActionGroup.change_action_state]. These variants allow a
|
||||||
* "platform data" #GVariant to be specified: a dictionary providing
|
* ‘platform data’ [struct@GLib.Variant] to be specified: a dictionary providing
|
||||||
* context for the action invocation (for example: timestamps, startup
|
* context for the action invocation (for example: timestamps, startup
|
||||||
* notification IDs, etc).
|
* notification IDs, etc).
|
||||||
*
|
*
|
||||||
* #GDBusActionGroup implements #GRemoteActionGroup. This provides a
|
* [class@Gio.DBusActionGroup] implements `GRemoteActionGroup`. This provides a
|
||||||
* mechanism to send platform data for action invocations over D-Bus.
|
* mechanism to send platform data for action invocations over D-Bus.
|
||||||
*
|
*
|
||||||
* Additionally, g_dbus_connection_export_action_group() will check if
|
* Additionally, [method@Gio.DBusConnection.export_action_group] will check if
|
||||||
* the exported #GActionGroup implements #GRemoteActionGroup and use the
|
* the exported [iface@Gio.ActionGroup] implements `GRemoteActionGroup` and use
|
||||||
* `_full` variants of the calls if available. This
|
* the `_full` variants of the calls if available. This
|
||||||
* provides a mechanism by which to receive platform data for action
|
* provides a mechanism by which to receive platform data for action
|
||||||
* invocations that arrive by way of D-Bus.
|
* invocations that arrive by way of D-Bus.
|
||||||
*
|
*
|
||||||
* Since: 2.32
|
* Since: 2.32
|
||||||
**/
|
**/
|
||||||
|
|
||||||
/**
|
|
||||||
* GRemoteActionGroup:
|
|
||||||
*
|
|
||||||
* #GRemoteActionGroup is an opaque data structure and can only be accessed
|
|
||||||
* using the following functions.
|
|
||||||
**/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GRemoteActionGroupInterface:
|
* GRemoteActionGroupInterface:
|
||||||
* @activate_action_full: the virtual function pointer for g_remote_action_group_activate_action_full()
|
* @activate_action_full: the virtual function pointer for g_remote_action_group_activate_action_full()
|
||||||
|
Loading…
Reference in New Issue
Block a user