Animation

Constructors

this
this(DzlAnimation* dzlAnimation, bool ownedRef = false)

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

Members

Functions

addOnTick
gulong addOnTick(void delegate(Animation) dlg, ConnectFlags connectFlags = cast(ConnectFlags)0)

The "tick" signal is emitted on each frame in the animation.

addProperty
void addProperty(ParamSpec pspec, Value value)

Adds a new property to the set of properties to be animated during the lifetime of the animation.

getAnimationStruct
DzlAnimation* getAnimationStruct(bool transferOwnership = false)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

start
void start()

Start the animation. When the animation stops, the internal reference will be dropped and the animation may be finalized.

stop
void stop()

Stops a running animation. The internal reference to the animation is dropped and therefore may cause the object to finalize.

Static functions

calculateDuration
uint calculateDuration(MonitorG monitor, double fromValue, double toValue)
getType
GType getType()

Variables

dzlAnimation
DzlAnimation* dzlAnimation;

the main Gtk struct

Meta