ExpanderRow


Object Hierarchy:

Adw.ExpanderRow Adw.ExpanderRow Adw.ExpanderRow Adw.PreferencesRow Adw.PreferencesRow Adw.PreferencesRow->Adw.ExpanderRow Gtk.ListBoxRow Gtk.ListBoxRow Gtk.ListBoxRow->Adw.PreferencesRow Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.ListBoxRow GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Adw.ExpanderRow Gtk.Accessible->Adw.PreferencesRow Gtk.Accessible->Gtk.ListBoxRow Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Adw.ExpanderRow Gtk.Buildable->Adw.PreferencesRow Gtk.Buildable->Gtk.ListBoxRow Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Adw.ExpanderRow Gtk.ConstraintTarget->Adw.PreferencesRow Gtk.ConstraintTarget->Gtk.ListBoxRow Gtk.ConstraintTarget->Gtk.Widget Gtk.Actionable Gtk.Actionable Gtk.Actionable->Adw.ExpanderRow Gtk.Actionable->Adw.PreferencesRow Gtk.Actionable->Gtk.ListBoxRow

Description:

[ CCode ( type_id = "adw_expander_row_get_type ()" ) ]
public class ExpanderRow : PreferencesRow, Accessible, Actionable, Buildable, ConstraintTarget

A [class@Gtk.

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 `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 <child> element.

It also supports adding it as a prefix widget by specifying “prefix” as the “type” attribute of a <child> element.

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.


Namespace: Adw
Package: libadwaita-1

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class Gtk.Widget