Class

AdapTimedAnimation

since: 1

Description [src]

final class Adap.TimedAnimation : Adap.Animation
{
  /* No available fields */
}

A time-based AdapAnimation.

AdapTimedAnimation implements a simple animation interpolating the given value from AdapTimedAnimation:value-from to AdapTimedAnimation:value-to over AdapTimedAnimation:duration milliseconds using the curve described by AdapTimedAnimation:easing.

If AdapTimedAnimation:reverse is set to TRUE, AdapTimedAnimation will instead animate from AdapTimedAnimation:value-to to AdapTimedAnimation:value-from, and the easing curve will be inverted.

The animation can repeat a certain amount of times, or endlessly, depending on the AdapTimedAnimation:repeat-count value. If AdapTimedAnimation:alternate is set to TRUE, it will also change the direction every other iteration.

Available since: 1

Constructors

adap_timed_animation_new

Creates a new AdapTimedAnimation on widget to animate target from from to to.

since: 1

Instance methods

adap_timed_animation_get_alternate

Gets whether self changes direction on every iteration.

since: 1

adap_timed_animation_get_duration

Gets the duration of self.

since: 1

adap_timed_animation_get_easing

Gets the easing function self uses.

since: 1

adap_timed_animation_get_repeat_count

Gets the number of times self will play.

since: 1

adap_timed_animation_get_reverse

Gets whether self plays backwards.

since: 1

adap_timed_animation_get_value_from

Gets the value self will animate from.

since: 1

adap_timed_animation_get_value_to

Gets the value self will animate to.

since: 1

adap_timed_animation_set_alternate

Sets whether self changes direction on every iteration.

since: 1

adap_timed_animation_set_duration

Sets the duration of self.

since: 1

adap_timed_animation_set_easing

Sets the easing function self will use.

since: 1

adap_timed_animation_set_repeat_count

Sets the number of times self will play.

since: 1

adap_timed_animation_set_reverse

Sets whether self plays backwards.

since: 1

adap_timed_animation_set_value_from

Sets the value self will animate from.

since: 1

adap_timed_animation_set_value_to

Sets the value self will animate to.

since: 1

Methods inherited from AdapAnimation (12)
adap_animation_get_follow_enable_animations_setting

Gets whether self should be skipped when animations are globally disabled.

since: 1.3

adap_animation_get_state

Gets the current value of self.

since: 1

adap_animation_get_target

Gets the target self animates.

since: 1

adap_animation_get_value

Gets the current value of self.

since: 1

adap_animation_get_widget

Gets the widget self was created for.

since: 1

adap_animation_pause

Pauses a playing animation for self.

since: 1

adap_animation_play

Starts the animation for self.

since: 1

adap_animation_reset

Resets the animation for self.

since: 1

adap_animation_resume

Resumes a paused animation for self.

since: 1

adap_animation_set_follow_enable_animations_setting

Sets whether to skip self when animations are globally disabled.

since: 1.3

adap_animation_set_target

Sets the target self animates to target.

since: 1

adap_animation_skip

Skips the animation for self.

since: 1

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Adap.TimedAnimation:alternate

Whether the animation changes direction on every iteration.

since: 1

Adap.TimedAnimation:duration

Duration of the animation, in milliseconds.

since: 1

Adap.TimedAnimation:easing

Easing function used in the animation.

since: 1

Adap.TimedAnimation:repeat-count

Number of times the animation will play.

since: 1

Adap.TimedAnimation:reverse

Whether the animation plays backwards.

since: 1

Adap.TimedAnimation:value-from

The value to animate from.

since: 1

Adap.TimedAnimation:value-to

The value to animate to.

since: 1

Properties inherited from AdapAnimation (5)
Adap.Animation:follow-enable-animations-setting

Whether to skip the animation when animations are globally disabled.

since: 1.3

Adap.Animation:state

The animation state.

since: 1

Adap.Animation:target

The target to animate.

since: 1

Adap.Animation:value

The current value of the animation.

since: 1

Adap.Animation:widget

The animation widget.

since: 1

Signals

Signals inherited from AdapAnimation (1)
AdapAnimation::done

This signal is emitted when the animation has been completed, either on its own or via calling adap_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

Class structure

struct AdapTimedAnimationClass {
  /* no available fields */
}
No description available.