Class

AdwPreferencesRow

Description [src]

class Adw.PreferencesRow : Gtk.ListBoxRow {
  parent_instance: GtkListBoxRow
}

A GtkListBoxRow used to present preferences.

The AdwPreferencesRow widget has a title that AdwPreferencesWindow will use to let the user look for a preference. It doesn’t present the title in any way and lets you present the preference as you please.

AdwActionRow and its derivatives are convenient to use as preference rows as they take care of presenting the preference’s title while letting you compose the inputs of the preference around it.

Available since:1.0

Hierarchy

hierarchy this AdwPreferencesRow implements_0 GtkAccessible this--implements_0 implements_1 GtkActionable this--implements_1 implements_2 GtkBuildable this--implements_2 implements_3 GtkConstraintTarget this--implements_3 ancestor_0 GtkListBoxRow ancestor_0--this ancestor_1 GtkWidget ancestor_1--ancestor_0 ancestor_2 GInitiallyUnowned ancestor_2--ancestor_1 ancestor_3 GObject ancestor_3--ancestor_2

Constructors

adw_preferences_row_new

Creates a new AdwPreferencesRow.

Available since: 1.0

Instance methods

adw_preferences_row_get_title

Gets the title of the preference represented by self.

Available since: 1.0

adw_preferences_row_get_title_selectable

Gets whether the user can copy the title from the label.

Available since: 1.0

adw_preferences_row_get_use_underline

Gets whether an embedded underline in the title indicates a mnemonic.

Available since: 1.0

adw_preferences_row_set_title

Sets the title of the preference represented by self.

Available since: 1.0

adw_preferences_row_set_title_selectable

Sets whether the user can copy the title from the label.

Available since: 1.0

adw_preferences_row_set_use_underline

Sets whether an embedded underline in the title indicates a mnemonic.

Available since: 1.0

Methods inherited from GtkListBoxRow (11)
Methods inherited from GtkWidget (159)
Methods inherited from GObject (43)

Properties

Adw.PreferencesRow:title

The title of the preference represented by this row.

Available since: 1.0

Adw.PreferencesRow:title-selectable

Whether the user can copy the title from the label.

Available since: 1.0

Adw.PreferencesRow:use-underline

Whether an embedded underline in the title indicates a mnemonic.

Available since: 1.0

Properties inherited from GtkListBoxRow (3)
Properties inherited from GtkWidget (34)

Signals

Signals inherited from GtkListBoxRow (1)
Signals inherited from GtkWidget (13)
Signals inherited from GObject (1)

Class structure

struct AdwPreferencesRowClass {
  GtkListBoxRowClass parent_class;
  
}
Class members
parent_class
GtkListBoxRowClass
 

The parent class.