ActionMapIF

The GActionMap interface is implemented by #GActionGroup implementations that operate by containing a number of named #GAction instances, such as #GSimpleActionGroup.

One useful application of this interface is to map the names of actions from various action groups to unique, prefixed names (e.g. by prepending "app." or "win."). This is the motivation for the 'Map' part of the interface name.

Members

Functions

addAction
void addAction(ActionIF action)

Adds an action to the @action_map.

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

A convenience function for creating multiple #GSimpleAction instances and adding them to a #GActionMap.

getActionMapStruct
GActionMap* getActionMapStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

lookupAction
ActionIF lookupAction(string actionName)

Looks up the action with the name @action_name in @action_map.

removeAction
void removeAction(string actionName)

Removes the named action from the action map.

Static functions

getType
GType getType()

Meta