ShortcutsWindow.addSection

Adds a section to the shortcuts window.

This is the programmatic equivalent to using [gtk.builder.Builder] and a <child> tag to add the child.

Using [gtk.window.Window.setChild] is not appropriate as the shortcuts window manages its children internally.

Parameters

sectionthe [gtk.shortcuts_section.ShortcutsSection] to add