It derives from <GObject>.
An object representing a section in ShortcutsDialog.
It contains ShortcutsItem objects, use
ShortcutsSection.add to add them.
<AdwShortcutsSection> implements the
<GListModel> interface and allows to access
the added shortcut items through it.
<AdwShortcutsSection> allows adding
<AdwShortcutsItem> objects as children.
The type of the items. See list-model:get-item-type.
Its value is a class, or a GType number.
It is read only.
The number of items. See list-model:get-n-items.
Its value is an unsigned 32-bit integer.
It is read only.
The title of the section, can be NULL.
Its value is a string, or #f.
Set it with (set! (shortcuts-section:title self) value).
Adds item to self.
Passed: a <AdwShortcutsSection>.
a shortcuts section
Passed: a <AdwShortcutsItem>.
the item to add
Gets the title of self.
Passed: a <AdwShortcutsSection>.
a shortcuts section
Returned: a string, or #f.
the title
Creates a new <AdwShortcutsSection> with
title as its title if provided.
Passed, or left out: a string, or #f.
the section title
Returned: a <AdwShortcutsSection>.
the newly created <AdwShortcutsSection>
Sets the title of self.
Passed: a <AdwShortcutsSection>.
a shortcuts section
Passed, or left out: a string, or #f.
the title to use