PreferencesGroup
-
class PreferencesGroup(**properties: Any)
Superclasses: Widget
, InitiallyUnowned
, Object
Implemented Interfaces: Accessible
, Buildable
, ConstraintTarget
- Constructors:
PreferencesGroup(**properties)
new() -> Gtk.Widget
Constructors
-
class PreferencesGroup
-
classmethod new() → Widget
Creates a new AdwPreferencesGroup
.
Methods
-
class PreferencesGroup
-
add(child: Widget) → None
Adds a child to self
.
- Parameters:
child – the widget to add
-
get_description() → str | None
Gets the description of self
.
Gets the suffix for self
’s header.
-
get_title() → str
Gets the title of self
.
-
remove(child: Widget) → None
Removes a child from self
.
- Parameters:
child – the child to remove
-
set_description(description: str | None = None) → None
Sets the description for self
.
- Parameters:
description – the description
Sets the suffix for self
’s header.
Displayed above the list, next to the title and description.
Suffixes are commonly used to show a button or a spinner for the whole group.
- Parameters:
suffix – the suffix to set
-
set_title(title: str) → None
Sets the title for self
.
- Parameters:
title – the title
Properties
-
class PreferencesGroup
-
props.description: str
The description for this group of preferences.
The header suffix widget.
Displayed above the list, next to the title and description.
Suffixes are commonly used to show a button or a spinner for the whole
group.
-
props.title: str
The title for this group of preferences.
Fields
-
class PreferencesGroup
-
parent_instance