| Top |
| GtkWidget * | adw_preferences_row_new () |
| const char * | adw_preferences_row_get_title () |
| void | adw_preferences_row_set_title () |
| gboolean | adw_preferences_row_get_use_underline () |
| void | adw_preferences_row_set_use_underline () |
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkListBoxRow
╰── AdwPreferencesRow
├── AdwActionRow
╰── AdwExpanderRow
AdwPreferencesRow implements GtkAccessible, GtkBuildable, GtkConstraintTarget and GtkActionable.
The AdwPreferencesRow widget has a title that AdwPreferencesWindow 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.
AdwActionRow 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.
GtkWidget *
adw_preferences_row_new (void);
Creates a new AdwPreferencesRow.
Since: 1.0
const char *
adw_preferences_row_get_title (AdwPreferencesRow *self);
Gets the title of the preference represented by self
.
Since: 1.0
void adw_preferences_row_set_title (AdwPreferencesRow *self,const char *title);
Sets the title of the preference represented by self
.
Since: 1.0
gboolean
adw_preferences_row_get_use_underline (AdwPreferencesRow *self);
Gets whether an embedded underline in the text of the title indicates a
mnemonic. See adw_preferences_row_set_use_underline().
Since: 1.0
void adw_preferences_row_set_use_underline (AdwPreferencesRow *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: 1.0
“title” property “title” char *
The title of the preference represented by this row.
Owner: AdwPreferencesRow
Flags: Read / Write
Default value: ""
Since: 1.0
“use-underline” property “use-underline” gboolean
Whether an embedded underline in the text of the title indicates a mnemonic.
Owner: AdwPreferencesRow
Flags: Read / Write
Default value: FALSE
Since: 1.0