| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
GTK2
GTK2.ActionGroup

# Method GTK2.ActionGroup()->add_action()

Method add_action

  `GTK2.ActionGroup add_action(GTK2.Action action, string|void accelerator)`

Description

  Adds an action object to the action group and sets up the accelerator.

  If accelerator is omitted, attempts to use the accelerator associated with the stock_id of the action.

  Accel paths are set to &lt;Actions&gt;/group-name/action-name.