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

Defined in:

auto/gio-2.0/action_map.cr

Instance Method Summary

Instance Method Detail

def add_action(action : Gio::Action) : Nil #

def add_action_entries(entries : Enumerable(Gio::ActionEntry), user_data : Pointer(Void)?) : Nil #

def lookup_action(action_name : String) : Gio::Action? #

def remove_action(action_name : String) : Nil #

abstract def to_unsafe #