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
PreferencesRowGidBuilder builder() static nothrowGet builder for [adw.preferences_row.PreferencesRow] Returns: New builder objectstring 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.bool getTitleSelectable() nothrowGets whether the user can copy the title from the label Returns: whether the user can copy the title from the labelbool getUseMarkup() nothrowGets whether to use Pango markup for the title label. Returns: whether to use markupbool getUseUnderline() nothrowGets whether an embedded underline in the title indicates a mnemonic. Returns: whether an embedded underline in the title indicates a mnemonicvoid setTitleSelectable(bool titleSelectable) nothrowSets whether the user can copy the title from the labelvoid setUseUnderline(bool useUnderline) nothrowSets whether an embedded underline in the title indicates a mnemonic.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 chainingFluent builder for adw.preferences_row.PreferencesRow
Methods