Clutter.AnimatorKey¶
Fields¶
None
Methods¶
|
|
|
|
|
|
|
Details¶
- class Clutter.AnimatorKey¶
A key frame inside a
Clutter.Animator
New in version 1.2.
Deprecated since version 1.12.
- get_mode()¶
- Returns:
the mode of a
Clutter.AnimatorKey
- Return type:
Retrieves the mode of a
Clutter.Animator
key, for the first key of a property for an object this represents the whether the animation is open ended and or curved for the remainding keys for the property it represents the easing mode.New in version 1.2.
Deprecated since version 1.12: Use
Clutter.KeyframeTransition
instead
- get_object()¶
- Returns:
the object an animator_key exist for.
- Return type:
Retrieves the object a key applies to.
New in version 1.2.
Deprecated since version 1.12: Use
Clutter.KeyframeTransition
instead
- get_progress()¶
- Returns:
the progress defined for a
Clutter.Animator
key.- Return type:
Retrieves the progress of an clutter_animator_key
New in version 1.2.
Deprecated since version 1.12: Use
Clutter.KeyframeTransition
instead
- get_property_name()¶
- Returns:
the name of the property an animator_key exist for.
- Return type:
Retrieves the name of the property a key applies to.
New in version 1.2.
Deprecated since version 1.12: Use
Clutter.KeyframeTransition
instead
- get_property_type()¶
- Returns:
the
GObject.GType
of the property- Return type:
Retrieves the
GObject.GType
of the property a key applies toYou can use this type to initialize the
GObject.Value
to pass toClutter.AnimatorKey.get_value
()New in version 1.2.
Deprecated since version 1.12: Use
Clutter.KeyframeTransition
instead
- get_value(value)¶
- Parameters:
value (
GObject.Value
) – aGObject.Value
initialized with the correct type for the animator key- Returns:
True
if the passedGObject.Value
was successfully set, andFalse
otherwise- Return type:
Retrieves a copy of the value for a
Clutter.AnimatorKey
.The passed in
GObject.Value
needs to be already initialized for the value type of the key or to a type that allow transformation from the value type of the key.Use
GObject.Value.unset
() when done.New in version 1.2.
Deprecated since version 1.12: Use
Clutter.KeyframeTransition
instead