Revealer

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_set_transition_type().

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.

Constructors

this
this(GtkRevealer* gtkRevealer, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this()

Creates a new #GtkRevealer.

Members

Functions

getChildRevealed
bool getChildRevealed()

Returns whether the child is fully revealed, in other words whether the transition to the revealed state is completed.

getRevealChild
bool getRevealChild()

Returns whether the child is currently revealed. See gtk_revealer_set_reveal_child().

getRevealerStruct
GtkRevealer* getRevealerStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getTransitionDuration
uint getTransitionDuration()

Returns the amount of time (in milliseconds) that transitions will take.

getTransitionType
GtkRevealerTransitionType getTransitionType()

Gets the type of animation that will be used for transitions in @revealer.

setRevealChild
void setRevealChild(bool revealChild)

Tells the #GtkRevealer to reveal or conceal its child.

setTransitionDuration
void setTransitionDuration(uint duration)

Sets the duration that transitions will take.

setTransitionType
void setTransitionType(GtkRevealerTransitionType transition)

Sets the type of animation that will be used for transitions in @revealer. Available types include various kinds of fades and slides.

Static functions

getType
GType getType()

Variables

gtkRevealer
GtkRevealer* gtkRevealer;

the main Gtk struct

Inherited Members

From Bin

gtkBin
GtkBin* gtkBin;

the main Gtk struct

getBinStruct
GtkBin* getBinStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
getChild
Widget getChild()

Gets the child of the #GtkBin, or %NULL if the bin contains no child widget. The returned widget does not have a reference added, so you do not need to unref it.

Meta