DockRevealer

This widget is a bit like #GtkRevealer with a couple of important differences. First, it only supports a couple transition types (the direction to slide reveal). Additionally, the size of the child allocation will not change during the animation. This is not as generally useful as an upstream GTK+ widget, but is extremely important for the panel case to avoid things looking strange while animating into and out of view.

Constructors

this
this(DzlDockRevealer* dzlDockRevealer, bool ownedRef = false)

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

this
this()

Members

Functions

animateToPosition
void animateToPosition(int position, uint transitionDuration)
getChildRevealed
bool getChildRevealed()
getDockRevealerStruct
DzlDockRevealer* getDockRevealerStruct(bool transferOwnership = false)

Get the main Gtk struct

getPosition
int getPosition()
getPositionSet
bool getPositionSet()
getRevealChild
bool getRevealChild()
getStruct
void* getStruct()

the main Gtk struct as a void*

getTransitionDuration
uint getTransitionDuration()
getTransitionType
DzlDockRevealerTransitionType getTransitionType()
isAnimating
bool isAnimating()

This is a helper to check if the revealer is animating. You probably don't want to poll this function. Connect to notify::child-revealed or notify::reveal-child instead.

setPosition
void setPosition(int position)
setPositionSet
void setPositionSet(bool positionSet)
setRevealChild
void setRevealChild(bool revealChild)
setTransitionDuration
void setTransitionDuration(uint transitionDuration)
setTransitionType
void setTransitionType(DzlDockRevealerTransitionType transitionType)

Static functions

getType
GType getType()

Variables

dzlDockRevealer
DzlDockRevealer* dzlDockRevealer;

the main Gtk struct

Inherited Members

From Bin

dzlBin
DzlBin* dzlBin;

the main Gtk struct

getDazzleBinStruct
DzlBin* getDazzleBinStruct(bool transferOwnership = false)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()

Meta