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.

class ShortcutsWindow
void
addSection

Parameters

section gtk.shortcuts_section.ShortcutsSection