Class

ClutterTransition

Description [src]

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

The ClutterTransition structure contains private data and should only be accessed using the provided API.

Available since:1.10

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().

Available since: 1.10

clutter_transition_get_interval

Retrieves the interval set using clutter_transition_set_interval()

Available since: 1.10

clutter_transition_get_remove_on_complete

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

Available since: 1.10

clutter_transition_set_animatable

Sets the ClutterTransition:animatable property.

Available since: 1.10

clutter_transition_set_from

Sets the initial value of the transition.

Available since: 1.12

clutter_transition_set_from_value

Sets the initial value of the transition.

Available since: 1.12

clutter_transition_set_interval

Sets the ClutterTransition:interval property using interval.

Available since: 1.10

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.

Available since: 1.10

clutter_transition_set_to

Sets the final value of the transition.

Available since: 1.12

clutter_transition_set_to_value

Sets the final value of the transition.

Available since: 1.12

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().

Available since: 0.6

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().

Available since: 0.6

clutter_scriptable_set_custom_property

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

Available since: 0.6

clutter_scriptable_set_id

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

Available since: 0.6

Properties

Clutter.Transition:animatable

The ClutterAnimatable instance currently being animated.

Available since: 1.10

Clutter.Transition:interval

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

Available since: 1.10

Clutter.Transition:remove-on-complete

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

Available since: 1.10

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

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

Available since: 1.6

Clutter.Timeline:delay

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

Available since: 0.4

Clutter.Timeline:direction

The direction of the timeline, either CLUTTER_TIMELINE_FORWARD or CLUTTER_TIMELINE_BACKWARD.

Available since: 0.6

Clutter.Timeline:duration

Duration of the timeline in milliseconds, depending on the ClutterTimeline:fps value.

Available since: 0.6

Clutter.Timeline:frame-clock

The frame clock driving the timeline.

Clutter.Timeline:progress-mode

Controls the way a ClutterTimeline computes the normalized progress.

Available since: 1.10

Clutter.Timeline:repeat-count

Defines how many times the timeline should repeat.

Available since: 1.10

Signals

Signals inherited from ClutterTimeline (6)
Clutter.Timeline::completed

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

Clutter.Timeline::marker-reached

The ::marker-reached signal is emitted each time a timeline reaches a marker set with clutter_timeline_add_marker_at_time(). This signal is detailed with the name of the marker as well, so it is possible to connect a callback to the ::marker-reached signal for a specific marker with:

Available since: 0.8

Clutter.Timeline::new-frame

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

Clutter.Timeline::paused

The ::paused signal is emitted when clutter_timeline_pause() is invoked.

Clutter.Timeline::started

The ::started 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.

Clutter.Timeline::stopped

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

Available since: 1.12

Signals inherited from GObject (1)
GObject.Object::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.

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
  );
  
}
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.
Clutter.TransitionClass.compute_value
No description available.
Clutter.TransitionClass.detached
No description available.