Class
AdwTimedAnimation
Description [src]
final class Adw.TimedAnimation : Adw.Animation {
/* No available fields */
}
A time-based AdwAnimation.
AdwTimedAnimation implements a simple animation interpolating the given
value from AdwTimedAnimation:value-from to
AdwTimedAnimation:value-to over
AdwTimedAnimation:duration milliseconds using the curve described by
AdwTimedAnimation:easing.
If AdwTimedAnimation:reverse is set to TRUE, AdwTimedAnimation
will instead animate from AdwTimedAnimation:value-to to
AdwTimedAnimation:value-from, and the easing curve will be inverted.
The animation can repeat a certain amount of times, or endlessly, depending
on the AdwTimedAnimation:repeat-count value. If
AdwTimedAnimation:alternate is set to TRUE, it will also change the
direction every other iteration.
| Available since: | 1.0 |
Ancestors
- AdwAnimation
- GObject
Constructors
adw_timed_animation_new
Creates a new AdwTimedAnimation on widget to animate target from from
to to.
Available since: 1.0
Instance methods
adw_timed_animation_get_alternate
Gets whether self changes direction on every iteration.
Available since: 1.0
adw_timed_animation_set_alternate
Sets whether self changes direction on every iteration.
Available since: 1.0
Methods inherited from AdwAnimation (9)
adw_animation_get_state
Gets the current value of self.
Available since: 1.0
adw_animation_get_target
Gets the target self animates.
Available since: 1.0
adw_animation_get_value
Gets the current value of self.
Available since: 1.0
adw_animation_get_widget
Gets the widget self was created for.
Available since: 1.0
adw_animation_pause
Pauses a playing animation for self.
Available since: 1.0
adw_animation_play
Starts the animation for self.
Available since: 1.0
adw_animation_reset
Resets the animation for self.
Available since: 1.0
adw_animation_resume
Resumes a paused animation for self.
Available since: 1.0
adw_animation_skip
Skips the animation for self.
Available since: 1.0
Properties
Adw.TimedAnimation:alternate
Whether the animation changes direction on every iteration.
Available since: 1.0
Properties inherited from AdwAnimation (4)
Adw.Animation:state
The animation state.
Available since: 1.0
Adw.Animation:target
The target to animate.
Available since: 1.0
Adw.Animation:value
The current value of the animation.
Available since: 1.0
Adw.Animation:widget
The animation widget.
Available since: 1.0