gtk.revealer

Module for [Revealer] class

Types 3

The GtkRevealer widget is a container which 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 #GtkSettings:gtk-enable-animations setting.

CSS nodes

GtkRevealer has a single CSS node with name revealer.

The GtkRevealer widget was added in GTK+ 3.10.

Methods
GType _gType() @property
Revealer self()Returns `this`, for use in `with` statements.
RevealerGidBuilder builder()Get builder for [gtk.revealer.Revealer] Returns: New builder object
bool childRevealed() @property
bool revealChild() @property
void revealChild(bool propval) @property
uint transitionDuration() @property
void transitionDuration(uint propval) @property
bool getChildRevealed()Returns whether the child is fully revealed, in other words whether the transition to the revealed state is completed. Returns: true if the child is fully revealed
bool getRevealChild()Returns whether the child is currently revealed. See [gtk.revealer.Revealer.setRevealChild].
uint getTransitionDuration()Returns the amount of time (in milliseconds) that transitions will take. Returns: the transition duration
gtk.types.RevealerTransitionType getTransitionType()Gets the type of animation that will be used for transitions in revealer. Returns: the current transition type of revealer
void setRevealChild(bool revealChild)Tells the #GtkRevealer to reveal or conceal its child.
void setTransitionDuration(uint duration)Sets the duration that transitions will take.
void setTransitionType(gtk.types.RevealerTransitionType transition)Sets the type of animation that will be used for transitions in revealer. Available types include various kinds of fades and slides.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new #GtkRevealer. Returns: a newly created #GtkRevealer

Fluent builder for [gtk.revealer.Revealer]

Methods