Transition between two values
<clutter-transition>
is a subclass of <clutter-timeline>
that computes the interpolation between two values, stored by a
<clutter-interval>
.
<clutter-transition>
) (interval <clutter-interval>
)Sets the
<"interval">
property using interval.The transition will acquire a reference on the interval, sinking the floating flag on it if necessary.
- transition
- a
<clutter-transition>
- interval
- a
<clutter-interval>
, or ‘#f
’.Since 1.10
<clutter-transition>
) ⇒ (ret <clutter-interval>
)Retrieves the interval set using
clutter-transition-set-interval
- transition
- a
<clutter-transition>
- ret
- a
<clutter-interval>
, or ‘#f
’; the returned interval is owned by the<clutter-transition>
and it should not be freed directly.Since 1.10
<clutter-transition>
) (animatable <clutter-animatable>
)Sets the
<"animatable">
property.The transition will acquire a reference to the animatable instance, and will call the
clutter-transition-class.attached
virtual function.If an existing
<clutter-animatable>
is attached to transition, the reference will be released, and theclutter-transition-class.detached
virtual function will be called.
- transition
- a
<clutter-transition>
- animatable
- a
<clutter-animatable>
, or ‘#f
’.Since 1.10
<clutter-transition>
) ⇒ (ret <clutter-animatable>
)Retrieves the
<clutter-animatable>
set usingclutter-transition-set-animatable
.
- transition
- a
<clutter-transition>
- ret
- a
<clutter-animatable>
, or ‘#f
’; the returned animatable is owned by the<clutter-transition>
, and it should not be freed directly.Since 1.10