adw.preferences_row

Module for [PreferencesRow] class

Types 3

A gtk.list_box_row.ListBoxRow used to present preferences.

The adw.preferences_row.PreferencesRow widget has a title that adw.preferences_dialog.PreferencesDialog 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.

adw.action_row.ActionRow 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.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
PreferencesRow self() nothrowReturns `this`, for use in `with` statements.
PreferencesRowGidBuilder builder() static nothrowGet builder for [adw.preferences_row.PreferencesRow] Returns: New builder object
string title() @property nothrowGet `title` property. Returns: The title of the preference represented by this row.
void title(string propval) @property nothrowSet `title` property. Params: propval = The title of the preference represented by this row.
bool titleSelectable() @property nothrowGet `titleSelectable` property. Returns: Whether the user can copy the title from the label.
void titleSelectable(bool propval) @property nothrowSet `titleSelectable` property. Params: propval = Whether the user can copy the title from the label.
bool useMarkup() @property nothrowGet `useMarkup` property. Returns: Whether to use Pango markup for the title label.
void useMarkup(bool propval) @property nothrowSet `useMarkup` property. Params: propval = Whether to use Pango markup for the title label.
bool useUnderline() @property nothrowGet `useUnderline` property. Returns: Whether an embedded underline in the title indicates a mnemonic.
void useUnderline(bool propval) @property nothrowSet `useUnderline` property. Params: propval = Whether an embedded underline in the title indicates a mnemonic.
string getTitle() nothrowGets the title of the preference represented by self. Returns: the title
bool getTitleSelectable() nothrowGets whether the user can copy the title from the label Returns: whether the user can copy the title from the label
bool getUseMarkup() nothrowGets whether to use Pango markup for the title label. Returns: whether to use markup
bool getUseUnderline() nothrowGets whether an embedded underline in the title indicates a mnemonic. Returns: whether an embedded underline in the title indicates a mnemonic
void setTitle(string title) nothrowSets the title of the preference represented by self.
void setTitleSelectable(bool titleSelectable) nothrowSets whether the user can copy the title from the label
void setUseMarkup(bool useMarkup) nothrowSets whether to use Pango markup for the title label.
void setUseUnderline(bool useUnderline) nothrowSets whether an embedded underline in the title indicates a mnemonic.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new [adw.preferences_row.PreferencesRow]. Returns: the newly created [adw.preferences_row.PreferencesRow]

Fluent builder implementation template for adw.preferences_row.PreferencesRow

Methods
T title(string propval) nothrowSet `title` property. Params: propval = The title of the preference represented by this row.
T titleSelectable(bool propval) nothrowSet `titleSelectable` property. Params: propval = Whether the user can copy the title from the label.
T useMarkup(bool propval) nothrowSet `useMarkup` property. Params: propval = Whether to use Pango markup for the title label.
T useUnderline(bool propval) nothrowSet `useUnderline` property. Params: propval = Whether an embedded underline in the title indicates a mnemonic. Returns: Builder instance for fluent chaining
Methods
PreferencesRow build() nothrowCreate object from builder. Returns: New object