Class

HandyPreferencesRow

Description [src]

class Handy.PreferencesRow : Gtk.ListBoxRow {
  parent_instance: GtkListBoxRow
}

A GtkListBoxRow used to present preferences.

The HdyPreferencesRow widget has a title that HdyPreferencesWindow 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.

HdyActionRow 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.

Available since:1.0

Ancestors

  • GtkListBoxRow
  • GtkBin
  • GtkContainer
  • GtkWidget
  • GInitiallyUnowned
  • GObject

Implements

  • AtkImplementorIface
  • GtkActionable
  • GtkBuildable

Constructors

hdy_preferences_row_new

Creates a new HdyPreferencesRow.

Available since: 1.0

Instance methods

hdy_preferences_row_get_title

Gets the title of the preference represented by self.

Available since: 1.0

hdy_preferences_row_get_use_underline

Gets whether an embedded underline in the title indicates a mnemonic.

Available since: 1.0

hdy_preferences_row_set_title

Sets the title of the preference represented by self.

Available since: 1.0

hdy_preferences_row_set_use_underline

Sets whether an embedded underline in the title indicates a mnemonic.

Available since: 1.0

Properties

Handy.PreferencesRow:title

The title of the preference represented by this row.

Available since: 1.0

Handy.PreferencesRow:use-underline

Whether an embedded underline in the title indicates a mnemonic.

Available since: 1.0

Class structure

struct HandyPreferencesRowClass {
  GtkListBoxRowClass parent_class;
  
}
Class members
parent_class
GtkListBoxRowClass
 

The parent class.