Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK2
GTK2.ActionGroup

Method GTK2.ActionGroup()->add_actions()


Method add_actions

GTK2.ActionGroup add_actions(array entries)

Description

This is a convenience function to create a number of actions and add them to the action group.

The "activate" signals of the actions are connect to the callbacks and their accel paths are set to <Actions>/group-name/action-name.

Mapping is: ([ "name": string, "stock_id": string, "label": string, "accelerator": string, "tooltip": string, "callback": function(callback) "data": mixed ]);