SimpleActionGroup

GSimpleActionGroup is a hash table filled with GAction objects, implementing the GActionGroup and GActionMap interfaces.

Constructors

this
this(GSimpleActionGroup* gSimpleActionGroup, bool ownedRef = false)

Sets our main struct and passes it to the parent class.

this
this()

Creates a new, empty, GSimpleActionGroup

Members

Functions

addEntries
void addEntries(GActionEntry[] entries, void* userData)

A convenience function for creating multiple GSimpleAction instances and adding them to the action group.

getSimpleActionGroupStruct
GSimpleActionGroup* getSimpleActionGroupStruct(bool transferOwnership = false)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

insert
void insert(ActionIF action)

Adds an action to the action group.

lookup
ActionIF lookup(string actionName)

Looks up the action with the name action_name in the group.

remove
void remove(string actionName)

Removes the named action from the action group.

Static functions

getType
GType getType()

Variables

gSimpleActionGroup
GSimpleActionGroup* gSimpleActionGroup;

the main Gtk struct

Meta

Since

2.28