Klasse SimpleActionGroup

Alle implementierten Schnittstellen:
PointerInterface

public class SimpleActionGroup extends PropertyHolder
`GSimpleActionGroup` is a hash table filled with [iface@Gio.Action] objects,
implementing the [iface@Gio.ActionGroup] and [iface@Gio.ActionMap]
interfaces.

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

  • Konstruktordetails

    • SimpleActionGroup

      public SimpleActionGroup(PointerContainer pointer)
    • SimpleActionGroup

      public SimpleActionGroup()
      Creates a new, empty, #GSimpleActionGroup.
  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • insert

      @Deprecated public void insert(@Nonnull Action action)
      Veraltet.
      Adds an action to the action group.

      If the action group already contains an action with the same name as
      @action then the old action is dropped from the group.

      The action group takes its own reference on @action.
      Parameter:
      action - a #GAction
    • lookup

      @Deprecated public Action lookup(@Nonnull Str action_name)
      Veraltet.
      Looks up the action with the name @action_name in the group.

      If no such action exists, returns %NULL.
      Parameter:
      action_name - the name of an action
      Gibt zurück:
      a #GAction, or %NULL
    • lookup

      @Deprecated public Action lookup(String action_name)
      Veraltet.
      Looks up the action with the name @action_name in the group.

      If no such action exists, returns %NULL.
      Parameter:
      action_name - the name of an action
      Gibt zurück:
      a #GAction, or %NULL
    • remove

      @Deprecated public void remove(@Nonnull Str action_name)
      Veraltet.
      Removes the named action from the action group.

      If no action of this name is in the group then nothing happens.
      Parameter:
      action_name - the name of the action
    • remove

      @Deprecated public void remove(String action_name)
      Veraltet.
      Removes the named action from the action group.

      If no action of this name is in the group then nothing happens.
      Parameter:
      action_name - the name of the action
    • asActionGroup

      public ActionGroup asActionGroup()
      Implements interface ActionGroup. Call this to get access to interface functions.
      Gibt zurück:
      ActionGroup
    • asActionMap

      public ActionMap asActionMap()
      Implements interface ActionMap. Call this to get access to interface functions.
      Gibt zurück:
      ActionMap
    • 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()