module Gio::ActionMap
Overview
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.
Direct including types
- Adw::Application
- Adw::ApplicationWindow
- Gio::Application
- Gio::SimpleActionGroup
- Gtk::Application
- Gtk::ApplicationWindow
Defined in:
lib/gi-crystal/src/auto/gio-2.0/action_map.crClass Method Summary
Instance Method Summary
- #add_action(action : Gio::Action) : Nil
- #add_action_entries(entries : Enumerable(Gio::ActionEntry), user_data : Pointer(Void)?) : Nil
- #lookup_action(action_name : String) : Gio::Action?
- #remove_action(action_name : String) : Nil
- #to_unsafe