It derives from <AdwPreferencesRow>.
A <GtkListBoxRow> used to reveal widgets.
The <AdwExpanderRow> widget allows the user to
reveal or hide widgets below it. It also allows the user to enable the
expansion of the row, allowing to disable all that the row contains.
The <AdwExpanderRow> implementation of the
<GtkBuildable> interface supports adding a
child as an suffix widget by specifying “suffix” as the “type” attribute
of a <child> element.
It also supports adding it as a prefix widget by specifying “prefix” as the “type” attribute of a <child> element.
<AdwExpanderRow> has a main CSS node with name
row and the .expander style class. It has the
.empty style class when it contains no children.
It contains the subnodes row.header for its main embedded row,
list.nested for the list it can expand, and
image.expander-row-arrow for its arrow.
<AdwExpanderRow> can use the ‘.‘ style class
to emphasize the row subtitle instead of the row title, which is useful
for displaying read-only properties.
When used together with the .monospace style class, only the
subtitle becomes monospace, not the title or any extra widgets.
parent-instanceWhether expansion is enabled.
Its value is a boolean.
Set it with (set! (expander-row:enable-expansion self) value).
Whether the row is expanded.
Its value is a boolean.
Set it with (set! (expander-row:expanded self) value).
The icon name for this row.
Its value is a string, or #f.
Set it with (set! (expander-row:icon-name self) value).
Whether the switch enabling the expansion is visible.
Its value is a boolean.
Set it with (set! (expander-row:show-enable-switch self) value).
The subtitle for this row.
The subtitle is interpreted as Pango markup unless
PreferencesRow:use-markup is set to FALSE.
Its value is a string, or #f.
Set it with (set! (expander-row:subtitle self) value).
The number of lines at the end of which the subtitle label will be ellipsized.
If the value is 0, the number of lines won’t be limited.
Its value is a 32-bit integer.
Set it with (set! (expander-row:subtitle-lines self) value).
The number of lines at the end of which the title label will be ellipsized.
If the value is 0, the number of lines won’t be limited.
Its value is a 32-bit integer.
Set it with (set! (expander-row:title-lines self) value).
Adds an action widget to self.
Passed: a <AdwExpanderRow>.
an expander row
Passed: a <GtkWidget>.
a widget
Adds a prefix widget to self.
Passed: a <AdwExpanderRow>.
an expander row
Passed: a <GtkWidget>.
a widget
Adds a widget to self.
The widget will appear in the expanding list below self.
Passed: a <AdwExpanderRow>.
an expander row
Passed: a <GtkWidget>.
a widget
Adds an suffix widget to self.
Passed: a <AdwExpanderRow>.
an expander row
Passed: a <GtkWidget>.
a widget
Gets whether the expansion of self is enabled.
Passed: a <AdwExpanderRow>.
an expander row
Returned: a boolean.
whether the expansion of self is enabled.
Gets whether self is expanded.
Passed: a <AdwExpanderRow>.
an expander row
Returned: a boolean.
whether self is expanded
Gets the icon name for self.
Passed: a <AdwExpanderRow>.
an expander row
Returned: a string, or #f.
the icon name for self
Gets whether the switch enabling the expansion of self is visible.
Passed: a <AdwExpanderRow>.
an expander row
Returned: a boolean.
whether the switch enabling the expansion is visible
Gets the subtitle for self.
Passed: a <AdwExpanderRow>.
an expander row
Returned: a string.
the subtitle for self
Gets the number of lines at the end of which the subtitle label will be ellipsized.
Passed: a <AdwExpanderRow>.
an expander row
Returned: a 32-bit integer.
the number of lines at the end of which the subtitle label will be ellipsized
Gets the number of lines at the end of which the title label will be ellipsized.
Passed: a <AdwExpanderRow>.
an expander row
Returned: a 32-bit integer.
the number of lines at the end of which the title label will be ellipsized
Creates a new <AdwExpanderRow>.
Returned: a <GtkWidget>.
the newly created <AdwExpanderRow>
Removes a child from self.
Passed: a <AdwExpanderRow>.
an expander row
Passed: a <GtkWidget>.
the child to be removed
Sets whether the expansion of self is enabled.
Passed: a <AdwExpanderRow>.
an expander row
Passed: a boolean.
whether to enable the expansion
Sets whether self is expanded.
Passed: a <AdwExpanderRow>.
an expander row
Passed: a boolean.
whether to expand the row
Sets the icon name for self.
Passed: a <AdwExpanderRow>.
an expander row
Passed, or left out: a string, or #f.
the icon name
Sets whether the switch enabling the expansion of self is visible.
Passed: a <AdwExpanderRow>.
an expander row
Passed: a boolean.
whether to show the switch enabling the expansion
Sets the subtitle for self.
The subtitle is interpreted as Pango markup unless
PreferencesRow:use-markup is set to FALSE.
Passed: a <AdwExpanderRow>.
an expander row
Passed: a string.
the subtitle
Sets the number of lines at the end of which the subtitle label will be ellipsized.
If the value is 0, the number of lines won’t be limited.
Passed: a <AdwExpanderRow>.
an expander row
Passed: a 32-bit integer.
the number of lines at the end of which the subtitle label will be ellipsized
Sets the number of lines at the end of which the title label will be ellipsized.
If the value is 0, the number of lines won’t be limited.
Passed: a <AdwExpanderRow>.
an expander row
Passed: a 32-bit integer.
the number of lines at the end of which the title label will be ellipsized