Creates a new adw.expander_row.ExpanderRow.
Adds an action widget to self.
Adds a prefix widget to self.
Adds a widget to self.
Adds an suffix widget to self.
Gets whether the expansion of self is enabled.
Gets whether self is expanded.
Gets the icon name for self.
Gets whether the switch enabling the expansion of self is visible.
Gets the subtitle for self.
Gets 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.
Removes a child from self.
Sets whether the expansion of self is enabled.
Sets whether self is expanded.
Sets the icon name for self.
Sets whether the switch enabling the expansion of self is visible.
Sets the subtitle for self.
Sets 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.
Gets the title of the preference represented by self.
Gets whether the user can copy the title from the label
Gets whether to use Pango markup for the title label.
Gets whether an embedded underline in the title indicates a mnemonic.
Sets the title of the preference represented by self.
Sets whether the user can copy the title from the label
Sets whether to use Pango markup for the title label.
Sets whether an embedded underline in the title indicates a mnemonic.
A gtk.list_box_row.ListBoxRow used to reveal widgets.
<picture> <source srcset="expander-row-dark.png" media="(prefers-color-scheme: dark)"> <img src="expander-row.png" alt="expander-row"> </picture>
The adw.expander_row.ExpanderRow 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 adw.expander_row.ExpanderRow implementation of the gtk.buildable.Buildable 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.
CSS nodes
adw.expander_row.ExpanderRow 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.