gio.action_map

Module for ActionMap interface

Types 2

interfaceActionMap

gio.action_map.ActionMap is an interface for action containers.

The gio.action_map.ActionMap interface is implemented by gio.action_group.ActionGroup implementations that operate by containing a number of named gio.action.Action instances, such as gio.simple_action_group.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.

Methods
void addAction(gio.action.Action action)Adds an action to the action_map.
gio.action.Action lookupAction(string actionName)Looks up the action with the name action_name in action_map.
void removeAction(string actionName)Removes the named action from the action map.

Fluent builder implementation template for gio.action_map.ActionMap