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.

Available since:1.0

Hierarchy

Ancestors

  • GtkWidget
  • GInitiallyUnowned
  • GObject

Implements

  • GtkAccessible
  • GtkBuildable
  • GtkConstraintTarget

Constructors

adw_preferences_group_new

Creates a new AdwPreferencesGroup.

Available since: 1.0

Instance methods

adw_preferences_group_add

Adds a child to self.

Available since: 1.0

adw_preferences_group_get_description

Gets the description of self.

Available since: 1.0

adw_preferences_group_get_title

Gets the title of self.

Available since: 1.0

adw_preferences_group_remove

Removes a child from self.

Available since: 1.0

adw_preferences_group_set_description

Sets the description for self.

Available since: 1.0

adw_preferences_group_set_title

Sets the title for self.

Available since: 1.0

Properties

Adw.PreferencesGroup:description

The description for this group of preferences.

Available since: 1.0

Adw.PreferencesGroup:title

The title for this group of preferences.

Available since: 1.0

Class structure

struct AdwPreferencesGroupClass {
  GtkWidgetClass parent_class;
  
}
Class members
parent_class
GtkWidgetClass
 

The parent class