Handy.PreferencesRow¶
- Subclasses:
Methods¶
- Inherited:
Gtk.ListBoxRow (10), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Actionable (5)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Gtk.ListBoxRow (2), Gtk.Container (3), Gtk.Widget (39), Gtk.Actionable (2)
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
The title of the preference |
||
r/w/en |
If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key |
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Gtk.ListBoxRow (1), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Fields¶
- Inherited:
Gtk.ListBoxRow (1), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Handy.PreferencesRow(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A [class`Gtk`.ListBoxRow] used to present preferences.
The
HdyPreferencesRow
widget has a title that [class`PreferencesWindow`] 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.
New in version 1.0.
- classmethod new()¶
- Returns:
the newly created
HdyPreferencesRow
- Return type:
Creates a new
HdyPreferencesRow
.New in version 1.0.
- get_title()¶
-
Gets the title of the preference represented by self.
New in version 1.0.
- get_use_underline()¶
- Returns:
whether an embedded underline in the title indicates a mnemonic
- Return type:
Gets whether an embedded underline in the title indicates a mnemonic.
New in version 1.0.
- set_title(title)¶
-
Sets the title of the preference represented by self.
New in version 1.0.
Property Details¶
- Handy.PreferencesRow.props.title¶
- Name:
title
- Type:
- Default Value:
''
- Flags:
The title of the preference represented by this row.
New in version 1.0.