add_section


Description:

[ Version ( since = "4.14" ) ]
public void add_section (ShortcutsSection section)

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