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 |
Properties | Defined By | |
---|---|---|
duration : guint32
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. an error occurs or the progress is before any of the keys) FALSE is returned and the GValue is left untouched
|
Clutter.Animator | |
get_duration
()
:
guint32
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().
the scriptable object and should never be modified of freed
|
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. list of ClutterAnimatorKeys; the contents of the list are owned by the ClutterAnimator, but you should free the returned list when done, using g_list_free()
|
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
(guint32 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, guint32 mode, gdouble 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 |
Class / Namespace | Method / Signal / Properties |
---|---|
Clutter.State
Method |
Retrieves the ClutterAnimator that is being used for transitioning
between the two states, if any has been set |
Clutter.State
Method |
Specifies a ClutterAnimator to be used when transitioning between
the two named states. |