gtk.revealer
Module for [Revealer] class
Types 3
classRevealer : gtk.bin.Bin
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
RevealerGidBuilder builder()Get builder for [gtk.revealer.Revealer] Returns: New builder objectbool childRevealed() @propertybool revealChild() @propertyvoid revealChild(bool propval) @propertyuint transitionDuration() @propertyvoid transitionDuration(uint propval) @propertygtk.types.RevealerTransitionType transitionType() @propertyvoid transitionType(gtk.types.RevealerTransitionType propval) @propertybool 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 revealedbool 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 durationgtk.types.RevealerTransitionType getTransitionType()Gets the type of animation that will be used for transitions in revealer. Returns: the current transition type of revealervoid 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.classRevealerGidBuilderImpl(T) : gtk.bin.BinGidBuilderImpl!T
Methods
T revealChild(bool propval)T transitionDuration(uint propval)T transitionType(gtk.types.RevealerTransitionType propval)