Class

ClutterTransition

since: 13

Description [src]

abstract class Clutter.Transition : Clutter.Timeline
  implements Clutter.Scriptable {
  /* No available fields */
}

Transition between two values

ClutterTransition is an abstract subclass of ClutterTimeline that computes the interpolation between two values, stored by a ClutterInterval.

Available since: 13

Hierarchy

hierarchy this ClutterTransition implements_0 ClutterScriptable this--implements_0 ancestor_0 ClutterTimeline ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0

Implements

Instance methods

clutter_transition_get_animatable

Retrieves the ClutterAnimatable set using clutter_transition_set_animatable().

since: 13

clutter_transition_get_interval

Retrieves the interval set using clutter_transition_set_interval()

since: 13

clutter_transition_get_remove_on_complete

Retrieves the value of the ClutterTransition:remove-on-complete property.

since: 13

clutter_transition_set_animatable

Sets the ClutterTransition:animatable property.

since: 13

clutter_transition_set_from

Sets the initial value of the transition.

since: 13

clutter_transition_set_from_value

Sets the initial value of the transition.

since: 13

clutter_transition_set_interval

Sets the ClutterTransition:interval property using interval.

since: 13

clutter_transition_set_remove_on_complete

Sets whether transition should be detached from the ClutterAnimatable set using clutter_transition_set_animatable() when the ClutterTimeline::completed signal is emitted.

since: 13

clutter_transition_set_to

Sets the final value of the transition.

since: 13

clutter_transition_set_to_value

Sets the final value of the transition.

since: 13

Methods inherited from ClutterTimeline (39)

Please see ClutterTimeline for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from ClutterScriptable (4)
clutter_scriptable_get_id

Retrieves the id of scriptable set using clutter_scriptable_set_id().

since: 13

clutter_scriptable_parse_custom_node

Parses the passed JSON node. The implementation must set the type of the passed GValue pointer using g_value_init().

since: 13

clutter_scriptable_set_custom_property

Overrides the common properties setting. The underlying virtual function should be used when implementing custom properties.

since: 13

clutter_scriptable_set_id

Sets id_ as the unique Clutter script it for this instance of ClutterScriptableIface.

since: 13

Properties

Clutter.Transition:animatable

The ClutterAnimatable instance currently being animated.

since: 13

Clutter.Transition:interval

The ClutterInterval used to describe the initial and final states of the transition.

since: 13

Clutter.Transition:remove-on-complete

Whether the ClutterTransition should be automatically detached from the ClutterTransition:animatable instance whenever the ClutterTimeline::stopped signal is emitted.

since: 13

Properties inherited from ClutterTimeline (8)
Clutter.Timeline:actor
No description available.

since: 13

Clutter.Timeline:auto-reverse

If the direction of the timeline should be automatically reversed when reaching the end.

since: 13

Clutter.Timeline:delay

A delay, in milliseconds, that should be observed by the timeline before actually starting.

since: 13

Clutter.Timeline:direction

The direction of the timeline, either CLUTTER_TIMELINE_FORWARD or CLUTTER_TIMELINE_BACKWARD.

since: 13

Clutter.Timeline:duration

Duration of the timeline in milliseconds, depending on the ClutterTimeline:frame-clock value.

since: 13

Clutter.Timeline:frame-clock

The frame clock driving the timeline.

since: 13

Clutter.Timeline:progress-mode

Controls the way a ClutterTimeline computes the normalized progress.

since: 13

Clutter.Timeline:repeat-count

Defines how many times the timeline should repeat.

since: 13

Signals

Signals inherited from ClutterTimeline (6)
ClutterTimeline::completed

The signal is emitted when the timeline’s elapsed time reaches the value of the ClutterTimeline:duration property.

since: 13

ClutterTimeline::marker-reached

The signal is emitted each time a timeline reaches a marker set with clutter_timeline_add_marker_at_time().

since: 13

ClutterTimeline::new-frame

The signal is emitted for each timeline running timeline before a new frame is drawn to give animations a chance to update the scene.

since: 13

ClutterTimeline::paused

The signal is emitted when clutter_timeline_pause() is invoked.

since: 13

ClutterTimeline::started

The signal is emitted when the timeline starts its run. This might be as soon as clutter_timeline_start() is invoked or after the delay set in the ClutterTimeline:delay property has expired.

since: 13

ClutterTimeline::stopped

The signal is emitted when the timeline has been stopped, either because clutter_timeline_stop() has been called, or because it has been exhausted.

since: 13

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.

since: 2.0

Class structure

struct ClutterTransitionClass {
  void (* attached) (
    ClutterTransition* transition,
    ClutterAnimatable* animatable
  );
  void (* detached) (
    ClutterTransition* transition,
    ClutterAnimatable* animatable
  );
  void (* compute_value) (
    ClutterTransition* transition,
    ClutterAnimatable* animatable,
    ClutterInterval* interval,
    gdouble progress
  );
  
}

The ClutterTransitionClass structure contains private data.

Class members
attached: void (* attached) ( ClutterTransition* transition, ClutterAnimatable* animatable )
No description available.
detached: void (* detached) ( ClutterTransition* transition, ClutterAnimatable* animatable )
No description available.
compute_value: void (* compute_value) ( ClutterTransition* transition, ClutterAnimatable* animatable, ClutterInterval* interval, gdouble progress )
No description available.

Virtual methods

Clutter.TransitionClass.attached
No description available.

since: 13

Clutter.TransitionClass.compute_value
No description available.

since: 13

Clutter.TransitionClass.detached
No description available.

since: 13