Constructor
AdapTimedAnimationnew
Declaration [src]
AdapAnimation*
adap_timed_animation_new (
GtkWidget* widget,
double from,
double to,
guint duration,
AdapAnimationTarget* target
)
Parameters
widget
-
Type:
GtkWidget
A widget to create animation on.
The data is owned by the caller of the function. from
-
Type:
double
A value to animate from.
to
-
Type:
double
A value to animate to.
duration
-
Type:
guint
A duration for the animation.
target
-
Type:
AdapAnimationTarget
A target value to animate.
The called function takes ownership of the data, and is responsible for freeing it.
Return value
Type: AdapAnimation
The newly created animation.
The data is owned by the called function. |