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.