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 _getGType() static nothrow
GType _gType() @property nothrow
Revealer self() nothrowReturns `this`, for use in `with` statements.
RevealerGidBuilder builder() static nothrowGet builder for [gtk.revealer.Revealer] Returns: New builder object
bool childRevealed() @property nothrow
bool revealChild() @property nothrow
void revealChild(bool propval) @property nothrow
uint transitionDuration() @property nothrow
void transitionDuration(uint propval) @property nothrow
void transitionType(gtk.types.RevealerTransitionType propval) @property nothrow
bool getChildRevealed() nothrowReturns 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() nothrowReturns whether the child is currently revealed. See [gtk.revealer.Revealer.setRevealChild].
uint getTransitionDuration() nothrowReturns the amount of time (in milliseconds) that transitions will take. Returns: the transition duration
gtk.types.RevealerTransitionType getTransitionType() nothrowGets the type of animation that will be used for transitions in revealer. Returns: the current transition type of revealer
void setRevealChild(bool revealChild) nothrowTells the #GtkRevealer to reveal or conceal its child.
void setTransitionDuration(uint duration) nothrowSets the duration that transitions will take.
void setTransitionType(gtk.types.RevealerTransitionType transition) nothrowSets 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 implementation template for gtk.revealer.Revealer

Methods
T revealChild(bool propval) nothrow
T transitionDuration(uint propval) nothrow

Fluent builder for gtk.revealer.Revealer

Methods
Revealer build() nothrowCreate object from builder. Returns: New object