Class DBusActionGroup

All Implemented Interfaces:
PointerInterface

public class DBusActionGroup extends Object
#GDBusActionGroup is an implementation of the #GActionGroup
interface that can be used as a proxy for an action group
that is exported over D-Bus with g_dbus_connection_export_action_group().

https://docs.gtk.org/gio/class.DBusActionGroup.html

  • Constructor Details

  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • get

      public static DBusActionGroup get(@Nonnull DBusConnection connection, @Nullable Str bus_name, @Nonnull Str object_path)
      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
      g_action_group_list_actions() to get the initial list.
      Parameters:
      connection - A #GDBusConnection
      bus_name - the bus name which exports the action group or %NULL if @connection is not a message bus connection
      object_path - the object path at which the action group is exported
      Returns:
      a #GDBusActionGroup
    • asActionGroup

      public ActionGroup asActionGroup()
      Implements interface ActionGroup. Call this to get access to interface functions.
      Returns:
      ActionGroup
    • asRemoteActionGroup

      public RemoteActionGroup asRemoteActionGroup()
      Implements interface RemoteActionGroup. Call this to get access to interface functions.
      Returns:
      RemoteActionGroup
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()