Gtk.Widget.prototype.insert_action_group

function insert_action_group(name:String, group:Gio.ActionGroup):void {
    // Gjs wrapper for gtk_widget_insert_action_group()
}

Inserts group into widget. Children of widget that implement Gtk.Actionable can then be associated with actions in group by setting their 'action-name' to @prefix.<replaceable>action-name</replaceable>.

Since 3.6

name

the prefix for actions in group

group

a Gio.ActionGroup