Interface for animatable classes
<clutter-animatable>
is an interface that allows a
<gobject>
class to control how a <clutter-animation>
will
animate a property.
Each <clutter-animatable>
should implement the
animate-property
virtual function of the interface to compute the
animation state between two values of an interval depending on a
progress factor, expressed as a floating point value.
If a <clutter-animatable>
is animated by a
<clutter-animation>
instance, the <clutter-animation>
will
call clutter-animatable-animate-property
passing the name of the
currently animated property; the initial and final values of the
animation interval; the progress factor. The <clutter-animatable>
implementation should return the computed value for the animated
property.
<clutter-animatable>
is available since Clutter 1.0
<clutter-animatable>
) (property_name mchars
) ⇒ (ret <gparam>
)Finds the
<gparam>
for property-name
- animatable
- a
<clutter-animatable>
- property-name
- the name of the animatable property to find
- ret
- The
<gparam>
for the given property or ‘#f
’.Since 1.4
<clutter-animatable>
) (property_name mchars
) (value <gvalue>
)Sets the current state of property-name to value
- animatable
- a
<clutter-animatable>
- property-name
- the name of the animatable property to set
- value
- the value of the animatable property to set
Since 1.4