Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | adw_expander_row_new () |
const char * | adw_expander_row_get_subtitle () |
void | adw_expander_row_set_subtitle () |
gboolean | adw_expander_row_get_use_underline () |
void | adw_expander_row_set_use_underline () |
const char * | adw_expander_row_get_icon_name () |
void | adw_expander_row_set_icon_name () |
gboolean | adw_expander_row_get_expanded () |
void | adw_expander_row_set_expanded () |
gboolean | adw_expander_row_get_enable_expansion () |
void | adw_expander_row_set_enable_expansion () |
gboolean | adw_expander_row_get_show_enable_switch () |
void | adw_expander_row_set_show_enable_switch () |
void | adw_expander_row_add_action () |
void | adw_expander_row_add_prefix () |
void | adw_expander_row_add () |
void | adw_expander_row_remove () |
gboolean | enable-expansion | Read / Write |
gboolean | expanded | Read / Write |
char * | icon-name | Read / Write |
gboolean | show-enable-switch | Read / Write |
char * | subtitle | Read / Write |
gboolean | use-underline | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkListBoxRow ╰── AdwPreferencesRow ╰── AdwExpanderRow
AdwExpanderRow implements GtkAccessible, GtkBuildable, GtkConstraintTarget and GtkActionable.
GtkWidget *
adw_expander_row_new (void
);
Creates a new AdwExpanderRow.
Since: 1.0
const char *
adw_expander_row_get_subtitle (AdwExpanderRow *self
);
Gets the subtitle for self
.
Since: 1.0
void adw_expander_row_set_subtitle (AdwExpanderRow *self
,const char *subtitle
);
Sets the subtitle for self
.
Since: 1.0
gboolean
adw_expander_row_get_use_underline (AdwExpanderRow *self
);
Gets whether an embedded underline in the text of the title and subtitle
labels indicates a mnemonic. See adw_expander_row_set_use_underline()
.
TRUE
if an embedded underline in the title and subtitle labels
indicates the mnemonic accelerator keys.
Since: 1.0
void adw_expander_row_set_use_underline (AdwExpanderRow *self
,gboolean use_underline
);
If true, an underline in the text of the title and subtitle labels indicates the next character should be used for the mnemonic accelerator key.
Since: 1.0
const char *
adw_expander_row_get_icon_name (AdwExpanderRow *self
);
Gets the icon name for self
.
Since: 1.0
void adw_expander_row_set_icon_name (AdwExpanderRow *self
,const char *icon_name
);
Sets the icon name for self
.
Since: 1.0
void adw_expander_row_set_expanded (AdwExpanderRow *self
,gboolean expanded
);
gboolean
adw_expander_row_get_enable_expansion (AdwExpanderRow *self
);
Gets whether the expansion of self
is enabled.
Since: 1.0
void adw_expander_row_set_enable_expansion (AdwExpanderRow *self
,gboolean enable_expansion
);
Sets whether the expansion of self
is enabled.
Since: 1.0
gboolean
adw_expander_row_get_show_enable_switch
(AdwExpanderRow *self
);
Gets whether the switch enabling the expansion of self
is visible.
Since: 1.0
void adw_expander_row_set_show_enable_switch (AdwExpanderRow *self
,gboolean show_enable_switch
);
Sets whether the switch enabling the expansion of self
is visible.
Since: 1.0
void adw_expander_row_add_action (AdwExpanderRow *self
,GtkWidget *widget
);
Adds an action widget to self
.
Since: 1.0
void adw_expander_row_add_prefix (AdwExpanderRow *self
,GtkWidget *widget
);
Adds a prefix widget to self
.
Since: 1.0
“enable-expansion”
property “enable-expansion” gboolean
TRUE
if the expansion is enabled.
Owner: AdwExpanderRow
Flags: Read / Write
Default value: TRUE
Since: 1.0
“expanded”
property “expanded” gboolean
TRUE
if the row is expanded.
Owner: AdwExpanderRow
Flags: Read / Write
Default value: FALSE
Since: 1.0
“icon-name”
property “icon-name” char *
The icon name for this row.
Owner: AdwExpanderRow
Flags: Read / Write
Default value: ""
Since: 1.0
“show-enable-switch”
property “show-enable-switch” gboolean
TRUE
if the switch enabling the expansion is visible.
Owner: AdwExpanderRow
Flags: Read / Write
Default value: FALSE
Since: 1.0
“subtitle”
property “subtitle” char *
The subtitle for this row.
Owner: AdwExpanderRow
Flags: Read / Write
Default value: ""
Since: 1.0
“use-underline”
property “use-underline” gboolean
Whether an embedded underline in the text of the title and subtitle labels indicates a mnemonic.
Owner: AdwExpanderRow
Flags: Read / Write
Default value: FALSE
Since: 1.0