Class
AdwTimedAnimation
since: 1
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
Constructors
adw_timed_animation_new
Creates a new AdwTimedAnimation on widget to animate target from from
to to.
since: 1
Instance methods
Methods inherited from AdwAnimation (12)
adw_animation_get_follow_enable_animations_setting
Gets whether self should be skipped when animations are globally disabled.
since: 1.3
adw_animation_get_state
Gets the current value of self.
since: 1
adw_animation_get_target
Gets the target self animates.
since: 1
adw_animation_get_value
Gets the current value of self.
since: 1
adw_animation_get_widget
Gets the widget self was created for.
since: 1
adw_animation_pause
Pauses a playing animation for self.
since: 1
adw_animation_play
Starts the animation for self.
since: 1
adw_animation_reset
Resets the animation for self.
since: 1
adw_animation_resume
Resumes a paused animation for self.
since: 1
adw_animation_set_follow_enable_animations_setting
Sets whether to skip self when animations are globally disabled.
since: 1.3
adw_animation_set_target
Sets the target self animates to target.
since: 1
adw_animation_skip
Skips the animation for self.
since: 1
Properties
Properties inherited from AdwAnimation (5)
Adw.Animation:follow-enable-animations-setting
Whether to skip the animation when animations are globally disabled.
since: 1.3
Adw.Animation:state
The animation state.
since: 1
Adw.Animation:target
The target to animate.
since: 1
Adw.Animation:value
The current value of the animation.
since: 1
Adw.Animation:widget
The animation widget.
since: 1
Signals
Signals inherited from AdwAnimation (1)
AdwAnimation::done
This signal is emitted when the animation has been completed, either on its
own or via calling adw_animation_skip().
since: 1
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
unstable since: 2.0