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

Ancestors

  • GtkListBoxRow
  • GtkWidget
  • GInitiallyUnowned
  • GObject

Implements

  • GtkAccessible
  • GtkActionable
  • GtkBuildable
  • GtkConstraintTarget

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

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

Class structure

struct AdwPreferencesRowClass {
  GtkListBoxRowClass parent_class;
  
}
Class members
parent_class
GtkListBoxRowClass
 

The parent class.