ActionMapT

The GActionMap interface is implemented by gtk.ActionGroup implementations that operate by containing a number of named gtk.Action instances, such as gio.SimpleActionGroup

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 gio.SimpleAction instances and adding them to a GActionMap

getActionMapStruct
GActionMap* getActionMapStruct(bool transferOwnership)

Get the main Gtk struct

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.

Meta

Since

2.32