Gio.ActionMap::add_action

function vfunc_add_action(action: Gio.Action): void {
}
  

Adds an action to the action_map.

If the action map already contains an action with the same name as action then the old action is dropped from the action map.

The action map takes its own reference on action.

Since 2.32

action

a Gio.Action