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.
Gets whether @self changes direction on every iteration.
Gets the duration of @self.
Gets whether @self should be skipped when animations are globally disabled.
Gets the number of times @self will play.
Gets whether @self plays backwards.
Gets the current value of @self.
Gets the target @self animates.
Gets the value @self will animate from.
Gets the value @self will animate to.
Sets whether @self changes direction on every iteration.
Sets the duration of @self.
Sets whether to skip @self when animations are globally disabled.
Sets the number of times @self will play.
Sets whether @self plays backwards.
Sets the target @self animates to @target.
Sets the value @self will animate from.
Sets the value @self will animate to.