Class
Adw.PreferencesGroup
Description [src]
class Adw.PreferencesGroup : Gtk.Widget {
parent_instance: GtkWidget
}
A group of preference rows.
An AdwPreferencesGroup
represents a group or tightly related preferences,
which in turn are represented by AdwPreferencesRow
.
To summarize the role of the preferences it gathers, a group can have both a
title and a description. The title will be used by
AdwPreferencesWindow
to let the user look for a preference.
CSS nodes
AdwPreferencesGroup
has a single CSS node with name preferencesgroup
.
Constructors
adw_preferences_group_new
Creates a new AdwPreferencesGroup
.
Instance methods
adw_preferences_group_add
Adds a child to self
.
adw_preferences_group_get_description
Gets the description of self
.
adw_preferences_group_get_title
Gets the title of self
.
adw_preferences_group_remove
Removes a child from self
.
adw_preferences_group_set_description
Sets the description for self
.
adw_preferences_group_set_title
Sets the title for self
.
Properties
Adw.PreferencesGroup:description
The description for this group of preferences.
Adw.PreferencesGroup:title
The title for this group of preferences.