PreferencesGroup
A group of preference rows.
An AdwPreferencesGroup
represents a group or tightly related preferences, which in turn are represented by class@PreferencesRow.
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 class@PreferencesDialog to let the user look for a preference.
The property@PreferencesGroup:separate-rows property can be used to separate the rows within the group, same as when using the style-classes.html#boxed-lists-cards style class instead of .boxed-list
.
AdwPreferencesGroup as GtkBuildable
The AdwPreferencesGroup
implementation of the iface@Gtk.Buildable interface supports adding class@PreferencesRows to the list by omitting "type". If "type" is omitted and the widget isn't a class@PreferencesRow 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.
Constructors
Properties
Functions
Gets the description of @self.
Gets the suffix for @self's header.
Gets whether @self's rows are separated.
Sets the description for @self.
Sets the suffix for @self's header.
Sets whether @self's rows are separated.