Class
AdwPreferencesGroup
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.
AdwPreferencesGroup as GtkBuildable
The AdwPreferencesGroup
implementation of the GtkBuildable
interface
supports adding AdwPreferencesRow
s to the list by omitting “type”. If “type”
is omitted and the widget isn’t a AdwPreferencesRow
the child is added to
a box below the list.
When the “type” attribute of a child is header-suffix
, the child
is set as the suffix on the end of the title and description.
CSS nodes
AdwPreferencesGroup
has a single CSS node with name preferencesgroup
.
Accessibility
AdwPreferencesGroup
uses the GTK_ACCESSIBLE_ROLE_GROUP
role.
Available since: | 1.0 |
Properties
Adw.PreferencesGroup:description
The description for this group of preferences.
Available since: 1.0