addGroup

open fun addGroup(group: ShortcutsGroup)

Adds a group to the shortcuts section.

This is the programmatic equivalent to using class@Gtk.Builder and a <child> tag to add the child.

Adding children with the GtkBox API is not appropriate, as GtkShortcutsSection manages its children internally.

Since

4.14

Parameters

group

the GtkShortcutsGroup to add