Widget.insertActionGroup

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.

class Widget
void
insertActionGroup

Parameters

name string

the prefix for actions in group

group gio.action_group.ActionGroup

a gio.action_group.ActionGroup, or null to remove the previously inserted group for name