addSection

open fun addSection(section: ShortcutsSection)

Adds a section to the shortcuts window.

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

Using method@Gtk.Window.set_child is not appropriate as the shortcuts window manages its children internally.

Since

4.14

Parameters

section

the GtkShortcutsSection to add