ActionMap
Object Hierarchy:
GLib.ActionMap
GLib.ActionMap
GLib.ActionMap
GLib.Object
GLib.Object
GLib.Object->GLib.ActionMap
Description:
[ CCode ( type_cname = "GActionMapInterface" , type_id = "g_action_map_get_type ()" ) ] [ Version ( since = "2.32" ) ]public interface ActionMap : Object
The GActionMap interface is implemented by ActionGroup implementations that operate
by containing a number of named Action instances, such as
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
SimpleAction instances and adding them to a ActionMap
.
public abstract unowned Action ? lookup_action (string action_name)
Looks up the action with the name action_name
in
this .
public abstract void remove_action (string action_name)
Removes the named action from the action map.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref