TimedAnimation


Object Hierarchy:

Adw.TimedAnimation Adw.TimedAnimation Adw.TimedAnimation Adw.Animation Adw.Animation Adw.Animation->Adw.TimedAnimation GLib.Object GLib.Object GLib.Object->Adw.Animation

Description:

[ CCode ( type_id = "adw_timed_animation_get_type ()" ) ]
public sealed class TimedAnimation : Animation

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.


Namespace: Adw
Package: libadwaita-1

Content:

Properties:

Creation methods:

Methods:

Inherited Members: