Widget.insertActionGroup

Inserts @group into @widget.

Children of @widget that implement [iface@Gtk.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 ActionGroupIF

a #GActionGroup, or %NULL

Meta