Clutter.PropertyTransition
Description: Reference for Clutter.PropertyTransition

### Class

# ClutterPropertyTransition

since: 13

#### Description [src]

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

Property transitions

`ClutterPropertyTransition` is a specialized `ClutterTransition` that can be used to tween a property of a `ClutterAnimatable` instance.

Available since: 13

#### Ancestors

- ClutterTransition
- ClutterTimeline
- GObject

#### Descendants

- ClutterKeyframeTransition

#### Implements

- ClutterScriptable

#### Constructors

###### clutter_property_transition_new

Creates a new `ClutterPropertyTransition`.

since: 13

###### clutter_property_transition_new_for_actor

Creates a new `ClutterPropertyTransition`.

since: 13

#### Instance methods

###### clutter_property_transition_get_property_name

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

since: 13

###### clutter_property_transition_set_property_name

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

since: 13

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

###### 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.PropertyTransition:property-name

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

since: 13

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

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

The `ClutterPropertyTransitionClass` structure contains private data.