ActionMap

interface ActionMap

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.

Skipped during bindings generation

  • parameter entries: Array parameter of type ActionEntry is not supported

Since

2.32

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val gioActionMapPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun addAction(action: Action)

Adds an action to the @action_map.

Link copied to clipboard
open fun lookupAction(actionName: String): Action?

Looks up the action with the name @action_name in @action_map.

Link copied to clipboard
open fun removeAction(actionName: String)

Removes the named action from the action map.