Animator
Object Hierarchy:
Clutter.Animator
Clutter.Animator
Clutter.Animator
GLib.Object
GLib.Object
GLib.Object->Clutter.Animator
Clutter.Scriptable
Clutter.Scriptable
Clutter.Scriptable->Clutter.Animator
Description:
[
CCode ( type_id =
"clutter_animator_get_type ()" ) ]
[
Version ( deprecated =
true , deprecated_since =
"1.12" , since =
"1.2" ) ]
public class Animator :
Object ,
Scriptable
Warning: Animator is deprecated since 1.12.
The Animator structure contains only private data and should be accessed using the provided API
Content:
Properties:
public uint duration { get ; set ; }
The duration of the
Timeline used by the Animator to drive the animation
public Timeline timeline { get ; set ; }
The Timeline used by
the Animator to drive the animation
Creation methods:
Methods:
public void @set (void * first_object, string first_property_name, uint first_mode, ...)
Adds multiple keys to a Animator ,
specifying the value a given property should have at a given progress of the animation.
public bool compute_value (Object object, string property_name, double progress, Value value)
Compute the value for a managed property at a given progress.
public uint get_duration ()
Retrieves the current duration of an animator
public List <unowned AnimatorKey > get_keys (Object ? object, string ? property_name, double progress)
Returns a list of pointers to opaque structures with accessor
functions that describe the keys added to an animator.
public unowned Timeline get_timeline ()
Get the timeline hooked up for driving the
Animator
public bool property_get_ease_in (Object object, string property_name)
Checks if a property value is to be eased into the animation.
public Interpolation property_get_interpolation (Object object, string property_name)
Get the interpolation used by animator for a property on a particular
object.
public void property_set_ease_in (Object object, string property_name, bool ease_in)
Sets whether a property value is to be eased into the animation.
public void property_set_interpolation (Object object, string property_name, Interpolation interpolation)
Set the interpolation method to use,
LINEAR causes the values to linearly change between the values, and
CUBIC causes the values to smoothly change between the values.
public void remove_key (Object ? object, string ? property_name, double progress)
Removes all keys matching the conditions specificed in the arguments.
public void set_duration (uint duration)
Runs the timeline of the Animator with a
duration in msecs as specified.
public unowned Animator set_key (Object object, string property_name, uint mode, double progress, Value value)
Sets a single key in the Animator for the
property_name
of object
at progress
.
public void set_timeline (Timeline timeline)
Sets an external timeline that will be used for driving the animation
public unowned Timeline start ()
Start the ClutterAnimator, this is a thin wrapper that rewinds and
starts the animators current timeline.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
All known members inherited from interface Clutter.Scriptable