ExpanderRow


Object Hierarchy:

Hdy.ExpanderRow Hdy.ExpanderRow Hdy.ExpanderRow Hdy.PreferencesRow Hdy.PreferencesRow Hdy.PreferencesRow->Hdy.ExpanderRow Gtk.ListBoxRow Gtk.ListBoxRow Gtk.ListBoxRow->Hdy.PreferencesRow Gtk.Bin Gtk.Bin Gtk.Bin->Gtk.ListBoxRow Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.Container GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Atk.Implementor Atk.Implementor Atk.Implementor->Hdy.ExpanderRow Atk.Implementor->Hdy.PreferencesRow Atk.Implementor->Gtk.ListBoxRow Atk.Implementor->Gtk.Bin Atk.Implementor->Gtk.Container Atk.Implementor->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Hdy.ExpanderRow Gtk.Buildable->Hdy.PreferencesRow Gtk.Buildable->Gtk.ListBoxRow Gtk.Buildable->Gtk.Bin Gtk.Buildable->Gtk.Container Gtk.Buildable->Gtk.Widget Gtk.Actionable Gtk.Actionable Gtk.Actionable->Hdy.ExpanderRow Gtk.Actionable->Hdy.PreferencesRow Gtk.Actionable->Gtk.ListBoxRow

Description:

[ CCode ( type_id = "hdy_expander_row_get_type ()" ) ]
[ Version ( since = "1.0" ) ]
public class ExpanderRow : PreferencesRow, Implementor, Actionable, Buildable

A [class@Gtk.

ListBoxRow] used to reveal widgets.

The `HdyExpanderRow` 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.

HdyExpanderRow as GtkBuildable

The `HdyExpanderRow` implementation of the [iface@Gtk.Buildable] interface supports adding a child as an action widget by specifying “action” 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

`HdyExpanderRow` 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.

When expanded, `HdyExpanderRow` will add the `.checked-expander-row-previous-sibling` style class to its previous sibling, and remove it when retracted.


Namespace: Hdy
Package: libhandy-1

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class Hdy.PreferencesRow
All known members inherited from class Gtk.Bin
All known members inherited from class Gtk.Widget
All known members inherited from interface Atk.Implementor