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

The GtkRevealer widget was added in GTK+ 3.10.

Constructors

this
this(GtkRevealer* gtkRevealer)

Sets our main struct and passes it to the parent class

this
this()

Creates a new GtkRevealer.

Members

Functions

getChildRevealed
int getChildRevealed()

Returns whether the child is fully revealed, ie wether the transition to the revealed state is completed.

getRevealChild
int getRevealChild()

Returns whether the child is currently revealed. See gtk_revealer_set_reveal_child(). This function returns TRUE as soon as the transition is to the revealed state is started. To learn whether the child is fully revealed (ie the transition is completed), use gtk_revealer_get_child_revealed().

getRevealerStruct
GtkRevealer* getRevealerStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
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(int revealChild)

Tells the GtkRevealer to reveal or conceal its child. The transition will be animated with the current transition type of revealer.

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
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.

Variables

gtkRevealer
GtkRevealer* gtkRevealer;

the main Gtk struct

Inherited Members

From Bin

gtkBin
GtkBin* gtkBin;

the main Gtk struct

getBinStruct
GtkBin* getBinStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
getStruct
void* getStruct()

the main Gtk struct as a void*

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
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