Top |
HdyPreferencesRowHdyPreferencesRow — A GtkListBox row used to present preferences. |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkListBoxRow ╰── HdyPreferencesRow ╰── HdyActionRow
HdyPreferencesRow implements AtkImplementorIface, GtkBuildable and GtkActionable.
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 it 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.
HdyPreferencesRow *
hdy_preferences_row_new (void
);
Creates a new HdyPreferencesRow.
Since: 0.0.10
const gchar *
hdy_preferences_row_get_title (HdyPreferencesRow *self
);
Gets the title of the preference represented by self
.
Since: 0.0.10
void hdy_preferences_row_set_title (HdyPreferencesRow *self
,const gchar *title
);
Sets the title of the preference represented by self
.
Since: 0.0.10
gboolean
hdy_preferences_row_get_use_underline (HdyPreferencesRow *self
);
Gets whether an embedded underline in the text of the title indicates a
mnemonic. See hdy_preferences_row_set_use_underline()
.
Since: 0.0.10
void hdy_preferences_row_set_use_underline (HdyPreferencesRow *self
,gboolean use_underline
);
If true, an underline in the text of the title indicates the next character should be used for the mnemonic accelerator key.
Since: 0.0.10