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 class@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.
class@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
PreferencesRow self()Returns `this`, for use in `with` statements.PreferencesRowGidBuilder builder()Get builder for [adw.preferences_row.PreferencesRow] Returns: New builder objectstring title() @propertyGet `title` property. Returns: The title of the preference represented by this row.void title(string propval) @propertySet `title` property. Params: propval = The title of the preference represented by this row.bool titleSelectable() @propertyGet `titleSelectable` property. Returns: Whether the user can copy the title from the label.void titleSelectable(bool propval) @propertySet `titleSelectable` property. Params: propval = Whether the user can copy the title from the label.bool useMarkup() @propertyGet `useMarkup` property. Returns: Whether to use Pango markup for the title label.void useMarkup(bool propval) @propertySet `useMarkup` property. Params: propval = Whether to use Pango markup for the title label.bool useUnderline() @propertyGet `useUnderline` property. Returns: Whether an embedded underline in the title indicates a mnemonic.void useUnderline(bool propval) @propertySet `useUnderline` property. Params: propval = Whether an embedded underline in the title indicates a mnemonic.string getTitle()Gets the title of the preference represented by self. Returns: the titlebool getTitleSelectable()Gets whether the user can copy the title from the label Returns: whether the user can copy the title from the labelbool getUseMarkup()Gets whether to use Pango markup for the title label. Returns: whether to use markupbool getUseUnderline()Gets whether an embedded underline in the title indicates a mnemonic. Returns: whether an embedded underline in the title indicates a mnemonicvoid setTitle(string title)Sets the title of the preference represented by self.void setTitleSelectable(bool titleSelectable)Sets whether the user can copy the title from the labelvoid setUseMarkup(bool useMarkup)Sets whether to use Pango markup for the title label.void setUseUnderline(bool useUnderline)Sets whether an embedded underline in the title indicates a mnemonic.Methods
T title(string propval)Set `title` property. Params: propval = The title of the preference represented by this row.T titleSelectable(bool propval)Set `titleSelectable` property. Params: propval = Whether the user can copy the title from the label.T useMarkup(bool propval)Set `useMarkup` property. Params: propval = Whether to use Pango markup for the title label.T useUnderline(bool propval)Set `useUnderline` property. Params: propval = Whether an embedded underline in the title indicates a mnemonic. Returns: Builder instance for fluent chainingFluent builder for [adw.preferences_row.PreferencesRow]
Methods