1.13 <GDBusActionGroup>

Class: <GDBusActionGroup>

It derives from <GObject>.

<GDBusActionGroup> is an implementation of the <GActionGroup> interface.

<GDBusActionGroup> can be used as a proxy for an action group that is exported over D-Bus with dbus-connection:export-action-group.

Procedures

Procedure: dbus-action-group:get connection bus-name object-path ⇒ %return

Obtains a <GDBusActionGroup> for the action group which is exported at the given bus-name and object-path.

The thread default main context is taken at the time of this call. All signals on the menu model (and any linked models) are reported with respect to this context. All calls on the returned menu model (and linked models) must also originate from this same context, with the thread default main context unchanged.

This call is non-blocking. The returned action group may or may not already be filled in. The correct thing to do is connect the signals for the action group to monitor for changes and then to call action-group:list-actions to get the initial list.

connection

Passed: a <GDBusConnection>.

A <GDBusConnection>

bus-name

Passed: a string, or #f.

the bus name which exports the action group or #f if connection is not a message bus connection

object-path

Passed: a string.

the object path at which the action group is exported

%return

Returned: a <GDBusActionGroup>.

a <GDBusActionGroup>