GObject.Object
Clutter.Animator
Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterAnimator |
Class : | Animator |
Implements: | Clutter.Scriptable |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
duration : Number
The duration of the ClutterTimeline used by the ClutterAnimator to drive the animation
The duration of the ClutterTimeline used by the ClutterAnimator to drive the animation
|
Clutter.Animator | |
parent_instance : GObject.Object
read only
|
Clutter.Animator | |
priv : Clutter.AnimatorPrivate
read only
|
Clutter.Animator | |
timeline : Clutter.Timeline
The ClutterTimeline used by the ClutterAnimator to drive the animation
The ClutterTimeline used by the ClutterAnimator to drive the animation
|
Clutter.Animator |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.Animator
(Object properties)
Create a new Clutter.Animator
Create a new Clutter.Animator
|
||
Compute the value for a managed property at a given progress.
Compute the value for a managed property at a given progress. If the property is an ease-in property, the current value of the property on the object will be used as the starting point for computation.
|
Clutter.Animator | |
get_duration
()
:
Number
Retrieves the current duration of an animator
Retrieves the current duration of an animator
|
Clutter.Animator | |
get_id
()
:
String
Retrieves the id of scriptable set using clutter_scriptable_set_id().
Retrieves the id of scriptable set using clutter_scriptable_set_id().
|
Clutter.Scriptable | |
Returns a list of pointers to opaque structures with accessor functions that describe the keys added to an animator.
Returns a list of pointers to opaque structures with accessor functions that describe the keys added to an animator.
|
Clutter.Animator | |
get_timeline
()
:
Clutter.Timeline
Get the timeline hooked up for driving the ClutterAnimator
Get the timeline hooked up for driving the ClutterAnimator
|
Clutter.Animator | |
Parses the passed JSON node.
Parses the passed JSON node. The implementation must set the type of the passed GValue pointer using g_value_init().
|
Clutter.Scriptable | |
Checks if a property value is to be eased into the animation.
Checks if a property value is to be eased into the animation.
|
Clutter.Animator | |
Get the interpolation used by animator for a property on a particular object.
Get the interpolation used by animator for a property on a particular object.
|
Clutter.Animator | |
Sets whether a property value is to be eased into the animation.
Sets whether a property value is to be eased into the animation.
|
Clutter.Animator | |
property_set_interpolation
(Object object, String property_name, Interpolation interpolation)
:
none
Set the interpolation method to use, CLUTTER_INTERPOLATION_LINEAR causes the values to linearly change between the values, and CLUTTER_INTERPOLATION_CUBIC causes the values to smoothly change between the values.
Set the interpolation method to use, CLUTTER_INTERPOLATION_LINEAR causes the values to linearly change between the values, and CLUTTER_INTERPOLATION_CUBIC causes the values to smoothly change between the values.
|
Clutter.Animator | |
Removes all keys matching the conditions specificed in the arguments.
Removes all keys matching the conditions specificed in the arguments.
|
Clutter.Animator | |
Overrides the common properties setting.
Overrides the common properties setting. The underlying virtual function should be used when implementing custom properties.
|
Clutter.Scriptable | |
set_duration
(Number duration)
:
none
Runs the timeline of the ClutterAnimator with a duration in msecs as specified.
Runs the timeline of the ClutterAnimator with a duration in msecs as specified.
|
Clutter.Animator | |
set_id
(String id)
:
none
Sets id as the unique Clutter script it for this instance of ClutterScriptableIface.
Sets id as the unique Clutter script it for this instance of ClutterScriptableIface. This name can be used by user interface designer applications to define a unique name for an object constructable using the UI definition language parsed by ClutterScript.
|
Clutter.Scriptable | |
set_key
(Object object, String property_name, Number mode, Number progress, Value value)
:
Clutter.Animator
Sets a single key in the ClutterAnimator for the property_name of
Sets a single key in the ClutterAnimator for the property_name of
|
Clutter.Animator | |
set_timeline
(Timeline timeline)
:
none
Sets an external timeline that will be used for driving the animation
Sets an external timeline that will be used for driving the animation
|
Clutter.Animator | |
start
()
:
Clutter.Timeline
Start the ClutterAnimator, this is a thin wrapper that rewinds and starts the animators current timeline.
Start the ClutterAnimator, this is a thin wrapper that rewinds and starts the animators current timeline.
|
Clutter.Animator |
None |