Class

PhocTimedAnimation

since: 0

Description [src]

final class Phoc.TimedAnimation : GObject.Object
{
  /* No available fields */
}

An animation that ends after the given period of time.

PhocTimedAnimation implements a timed animation using the given PhocPropertyEaser to animate properties of the PhocAnimatable.

Available since: 0

Ancestors

Constructors

phoc_timed_animation_new
No description available.

since: 0

Instance methods

phoc_timed_animation_get_animatable
No description available.

since: 0

phoc_timed_animation_get_dispose_on_done

Whether the animation tracks it’s own reference.

since: 0

phoc_timed_animation_get_duration
No description available.

since: 0

phoc_timed_animation_get_property_easer
No description available.

since: 0

phoc_timed_animation_get_state

Gets the current state of self.

since: 0

phoc_timed_animation_play

Starts the animation for self.

since: 0

phoc_timed_animation_reset

Resets the animation for self.

since: 0

phoc_timed_animation_set_duration
No description available.

since: 0

phoc_timed_animation_set_property_easer
No description available.

since: 0

phoc_timed_animation_skip

Skips the animation for self.

since: 0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Phoc.TimedAnimation:animatable

The animatable that drives the frame clock.

since: 0

Phoc.TimedAnimation:dispose-on-done

Whether the animation should ref itself during construction and drop that reference once it emitted the PhocTimedAnimation::done signal. This frees the animated object from tracking the animations life cycle thus making it easy to create “fire and forget” animations.

since: 0

Phoc.TimedAnimation:duration

The duration of the animation in milliseconds.

since: 0

Phoc.TimedAnimation:property-easer

The PhocPropertyEaser that specifies the object and properties to ease in the timed animation.

since: 0

Phoc.TimedAnimation:state
No description available.

since: 0

Signals

Phoc.TimedAnimation::done
No description available.

since: 0

Phoc.TimedAnimation::tick
No description available.

since: 0

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 PhocTimedAnimationClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.