add_section
Description:
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.
Parameters:
this |
a `GtkShortcutsWindow` |
section |
the `GtkShortcutsSection` to add |