Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[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 <Actions>/group-name/action-name.