Basics
Guides
API Reference
Basics
Guides
API Reference
[14:7] extends: object
GSimpleActionGroup is a hash table filled with [iface@Gio.Action] objects,
implementing the [iface@Gio.ActionGroup] and [iface@Gio.ActionMap]
interfaces.
SimpleActionGroup ()
Creates a new, empty, #GSimpleActionGroup.
toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asObject ()
Wraps this handle as
Object.
A Object object.asActionGroup ()
Wraps this handle as
ActionGroup.
A ActionGroup object.asActionMap ()
Wraps this handle as
ActionMap.
A ActionMap object.insert (object action)
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.
action is a #GAction.None.lookup (string action_name)
Looks up the action with the name @action_name in the group. If no such action exists, returns %NULL.
action_name is the name of an action.remove (string action_name)
Removes the named action from the action group. If no action of this name is in the group then nothing happens.
action_name is the name of the action.None.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.