Clutter Reference Manual: ClutterPropertyTransition

## ClutterPropertyTransition ClutterPropertyTransition — Property transitions |

## Synopsis

                        ClutterPropertyTransition;
    struct              ClutterPropertyTransitionClass;
    ClutterTransition * clutter_property_transition_new     (const char *property_name);
    void                clutter_property_transition_set_property_name
                                                            (ClutterPropertyTransition *transition,
                                                             const char *property_name);
    const char *        clutter_property_transition_get_property_name
                                                            (ClutterPropertyTransition *transition);

## Object Hierarchy

      GObject
       +----ClutterTimeline
             +----ClutterTransition
                   +----ClutterPropertyTransition
                         +----ClutterKeyframeTransition

## Implemented Interfaces

ClutterPropertyTransition implements ClutterScriptable.

## Properties

      "property-name"            gchar*                : Read / Write

## Description

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

ClutterPropertyTransition is available since Clutter 1.10

## Details

### ClutterPropertyTransition

    typedef struct _ClutterPropertyTransition ClutterPropertyTransition;

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

Since 1.10

### struct ClutterPropertyTransitionClass

    struct ClutterPropertyTransitionClass {
    };

The ClutterPropertyTransitionClass structure contains private data.

Since 1.10

### clutter_property_transition_new ()

    ClutterTransition * clutter_property_transition_new     (const char *property_name);

Creates a new ClutterPropertyTransition.

`property_name` : | a property of `animatable`, or `NULL`. [allow-none]
Returns : | the newly created ClutterPropertyTransition. Use `g_object_unref()` when done. [transfer full]

Since 1.10

### clutter_property_transition_set_property_name ()

    void                clutter_property_transition_set_property_name
                                                            (ClutterPropertyTransition *transition,
                                                             const char *property_name);

Sets the "property-name" property of `transition`.

`transition` : | a ClutterPropertyTransition
`property_name` : | a property name. [allow-none]

Since 1.10

### clutter_property_transition_get_property_name ()

    const char *        clutter_property_transition_get_property_name
                                                            (ClutterPropertyTransition *transition);

Retrieves the value of the "property-name" property.

`transition` : | a ClutterPropertyTransition
Returns : | the name of the property being animated, or `NULL` if none is set. The returned string is owned by the `transition` and it should not be freed.

Since 1.10

## Property Details

### The `"property-name"` property

      "property-name"            gchar*                : Read / Write

The name of the property of a ClutterAnimatable to animate.

Default value: NULL

Since 1.10