Clutter.KeyframeTransition
Description: Reference for Clutter.KeyframeTransition

### Class

# ClutterKeyframeTransition

#### Description [src]

    class Clutter.KeyframeTransition : Clutter.PropertyTransition {
      /* No available fields */
    }

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

Available since: | 1.12

#### Ancestors

- ClutterPropertyTransition
- ClutterTransition
- ClutterTimeline
- GObject

#### Implements

- ClutterScriptable

#### Constructors

###### clutter_keyframe_transition_new

Creates a new `ClutterKeyframeTransition` for `property_name`.

Available since: 1.12

#### Instance methods

###### clutter_keyframe_transition_clear

Removes all key frames from `transition`.

Available since: 1.12

###### clutter_keyframe_transition_get_key_frame

Retrieves the details of the key frame at `index_` inside `transition`.

Available since: 1.12

###### clutter_keyframe_transition_get_n_key_frames

Retrieves the number of key frames inside `transition`.

Available since: 1.12

###### clutter_keyframe_transition_set

Sets the key frames of the `transition`.

Available since: 1.12

###### clutter_keyframe_transition_set_key_frame

Sets the details of the key frame at `index_` inside `transition`.

Available since: 1.12

###### clutter_keyframe_transition_set_key_frames

Sets the keys for each key frame inside `transition`.

Available since: 1.12

###### clutter_keyframe_transition_set_modes

Sets the easing modes for each key frame inside `transition`.

Available since: 1.12

###### clutter_keyframe_transition_set_values

Sets the values for each key frame inside `transition`.

Available since: 1.12

##### Methods inherited from ClutterPropertyTransition (2)

###### clutter_property_transition_get_property_name

Retrieves the value of the `ClutterPropertyTransition:property-name` property.

Available since: 1.10

###### clutter_property_transition_set_property_name

Sets the `ClutterPropertyTransition:property-name` property of `transition`.

Available since: 1.10

##### Methods inherited from ClutterTransition (10)

###### 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

##### Properties inherited from ClutterPropertyTransition (1)

###### Clutter.PropertyTransition:property-name

The name of the property of a `ClutterAnimatable` to animate.

Available since: 1.10

##### Properties inherited from ClutterTransition (3)

###### 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 ClutterKeyframeTransitionClass {
      /* no available fields */
    }