Adw.ShortcutsSection¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Adw.ShortcutsSection(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
An object representing a section in [class`ShortcutsDialog`].
It contains [class`ShortcutsItem`] objects, use [method`ShortcutsSection`.add] to add them.
AdwShortcutsSectionimplements the [iface`Gio`.ListModel] interface and allows to access the added shortcut items through it.AdwShortcutsSectionallows addingAdwShortcutsItemobjects as children.New in version 1.8.
- classmethod new(title)¶
- Parameters:
- Returns:
the newly created
AdwShortcutsSection- Return type:
Creates a new
AdwShortcutsSectionwith title as its title if provided.New in version 1.8.
- add(item)¶
- Parameters:
item (
Adw.ShortcutsItem) – the item to add
Adds item to self.
New in version 1.8.
- get_title()¶
-
Gets the title of self.
New in version 1.8.