ExpanderRow
A class@Gtk.ListBoxRow 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.
AdwExpanderRow as GtkBuildable
The AdwExpanderRow
implementation of the iface@Gtk.Buildable interface supports adding a child as an suffix widget by specifying “suffix” as the “type” attribute of a
It also supports adding it as a prefix widget by specifying “prefix” as the “type” attribute of a
CSS nodes
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.
Style classes
AdwExpanderRow
can use the style-classes.html#property-rows 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.
Constructors
Properties
Whether expansion is enabled.
Whether the switch enabling the expansion is visible.
The number of lines at the end of which the subtitle label will be ellipsized.
The number of lines at the end of which the title label will be ellipsized.
Whether the user can copy the title from the label.
Whether an embedded underline in the title indicates a mnemonic.