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.
Constructors
adw_preferences_row_new
Creates a new AdwPreferencesRow
.
Instance methods
adw_preferences_row_get_title
Gets the title of the preference represented by self
.
adw_preferences_row_get_title_selectable
Gets whether the user can copy the title from the label.
Available since: 1.1
adw_preferences_row_get_use_markup
Gets whether to use Pango markup for the title label.
Available since: 1.2
adw_preferences_row_get_use_underline
Gets whether an embedded underline in the title indicates a mnemonic.
adw_preferences_row_set_title
Sets the title of the preference represented by self
.
adw_preferences_row_set_title_selectable
Sets whether the user can copy the title from the label.
Available since: 1.1
adw_preferences_row_set_use_markup
Sets whether to use Pango markup for the title label.
Available since: 1.2
adw_preferences_row_set_use_underline
Sets whether an embedded underline in the title indicates a mnemonic.
Properties
Adw.PreferencesRow:title
The title of the preference represented by this row.
Adw.PreferencesRow:title-selectable
Whether the user can copy the title from the label.
Available since: 1.1
Adw.PreferencesRow:use-underline
Whether an embedded underline in the title indicates a mnemonic.