PreferencesRow
Superclasses: ListBoxRow
, Widget
, InitiallyUnowned
, Object
Subclasses: ActionRow
, EntryRow
, ExpanderRow
Implemented Interfaces: Accessible
, Actionable
, Buildable
, ConstraintTarget
- Constructors:
PreferencesRow(**properties)
new() -> Gtk.Widget
Constructors
Methods
- class PreferencesRow
-
- get_title_selectable() bool
Gets whether the user can copy the title from the label
Added in version 1.1.
- set_title(title: str) None
Sets the title of the preference represented by
self
.The title is interpreted as Pango markup unless
use_markup
is set toFALSE
.- Parameters:
title – the title
- set_title_selectable(title_selectable: bool) None
Sets whether the user can copy the title from the label
See also
selectable
.Added in version 1.1.
- Parameters:
title_selectable –
TRUE
if the user can copy the title from the label
- set_use_markup(use_markup: bool) None
Sets whether to use Pango markup for the title label.
Subclasses may also use it for other labels, such as subtitle.
See also
parse_markup
.Added in version 1.2.
- Parameters:
use_markup – whether to use markup
Properties
- class PreferencesRow
- props.title: str
The title of the preference represented by this row.
The title is interpreted as Pango markup unless
use_markup
is set toFALSE
.
- props.title_selectable: bool
Whether the user can copy the title from the label.
See also
selectable
.Added in version 1.1.
- props.use_markup: bool
Whether to use Pango markup for the title label.
Subclasses may also use it for other labels, such as subtitle.
See also
parse_markup
.Added in version 1.2.
Fields
- class PreferencesRow
- parent_instance