insertActionGroup

open fun insertActionGroup(name: String, group: <Error class: unknown class>? = null)

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.

Parameters

name

the prefix for actions in @group

group

a GActionGroup, or null to remove the previously inserted group for @name