Widget.insertActionGroup
void insertActionGroup(string name, gio.action_group.ActionGroup group = null)Inserts group into widget.
Children of widget that implement gtk.actionable.Actionable can then be associated with actions in group by setting their “action-name” to prefix.action-name.
Note that inheritance is defined for individual actions. I.e. even if you insert a group with prefix prefix, actions with the same prefix will still be inherited from the parent, unless the group contains an action with the same name.
If group is null, a previously inserted group for name is removed from widget.
Parameters
name | the prefix for actions in group |
group | a gio.action_group.ActionGroup, or null to remove the previously inserted group for name |