[ CCode ( has_construct_function = false , type = "AdwAnimation*" ) ]
public TimedAnimation (Widget widget, double from, double to, uint duration, owned AnimationTarget target)
Creates a new `AdwTimedAnimation` on widget
to animate target
from from
to to
.
widget |
a widget to create animation on |
from |
a value to animate from |
to |
a value to animate to |
duration |
a duration for the animation |
target |
a target value to animate |
the newly created animation |