Object Hierarchy:
Description:
[ CCode ( type_cname = "GActionMapInterface" , type_id = "g_action_map_get_type ()" ) ]
[ Version ( since = "2.32" ) ]
public interface ActionMap : Object
`GActionMap` is an interface for action containers.
The `GActionMap` interface is implemented by [iface@Gio.ActionGroup] implementations that operate by containing a number of named [ iface@Gio.Action] instances, such as [class@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.
All known implementing classes:
Content:
Methods:
- public abstract void add_action (Action action)
Adds an action to the this.
- public void add_action_entries (ActionEntry[] entries, void* user_data)
A convenience function for creating multiple [class@Gio.
- public abstract unowned Action? lookup_action (string action_name)
Looks up the action with the name
action_namein this. - public abstract void remove_action (string action_name)
Removes the named action from the action map.
- public void remove_action_entries (ActionEntry[] entries)
Remove actions from a [iface@Gio.
Inherited Members:
All known members inherited from class GLib.Object