GtkRevealer

A gtk.revealer.Revealer animates the transition of its child from invisible to visible.

The style of transition can be controlled with gtk.revealer.Revealer.setTransitionType.

These animations respect the property@Gtk.Settings:gtk-enable-animations setting.

CSS nodes

gtk.revealer.Revealer has a single CSS node with name revealer. When styling gtk.revealer.Revealer using CSS, remember that it only hides its contents, not itself. That means applied margin, padding and borders will be visible even when the property@Gtk.Revealer:reveal-child property is set to false.

Accessibility

gtk.revealer.Revealer uses the gtk.types.AccessibleRole.Group role.

The child of gtk.revealer.Revealer, if set, is always available in the accessibility tree, regardless of the state of the revealer widget.

struct GtkRevealer