Skip to main content

Variable: Revealer

const Revealer: "Revealer"

Defined in: react/src/generated/jsx.ts:14668

Animates the transition of its child from invisible to visible.

The style of transition can be controlled with [method@Gtk.Revealer.set_transition_type].

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

CSS nodes

GtkRevealer has a single CSS node with name revealer. When styling GtkRevealer 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

GtkRevealer uses the [enum@Gtk.AccessibleRole.group] role.

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