TimedAnimation
A time-based class@Animation.
AdwTimedAnimation
implements a simple animation interpolating the given value from property@TimedAnimation:value-from to property@TimedAnimation:value-to over property@TimedAnimation:duration milliseconds using the curve described by property@TimedAnimation:easing.
If property@TimedAnimation:reverse is set to TRUE
, AdwTimedAnimation
will instead animate from property@TimedAnimation:value-to to property@TimedAnimation:value-from, and the easing curve will be inverted.
The animation can repeat a certain amount of times, or endlessly, depending on the property@TimedAnimation:repeat-count value. If property@TimedAnimation:alternate is set to TRUE
, it will also change the direction every other iteration.
Constructors
Creates a new AdwTimedAnimation
on @widget to animate @target from @from to @to.
Properties
Whether to skip the animation when animations are globally disabled.
Number of times the animation will play.
The animation state.
The target to animate.
Functions
This signal is emitted when the animation has been completed, either on its own or via calling method@Animation.skip.