Next: , Previous: ClutterTimeline, Up: Top


70 ClutterTransition

Transition between two values

70.1 Overview

<clutter-transition> is a subclass of <clutter-timeline> that computes the interpolation between two values, stored by a <clutter-interval>.

70.2 Usage

— Function: clutter-transition-set-interval (self <clutter-transition>) (interval <clutter-interval>)
— Method: set-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

— Function: clutter-transition-get-interval (self <clutter-transition>) ⇒  (ret <clutter-interval>)
— Method: get-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

— Function: clutter-transition-set-animatable (self <clutter-transition>) (animatable <clutter-animatable>)
— Method: set-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 the clutter-transition-class.detached virtual function will be called.

transition
a <clutter-transition>
animatable
a <clutter-animatable>, or ‘#f’.

Since 1.10

— Function: clutter-transition-get-animatable (self <clutter-transition>) ⇒  (ret <clutter-animatable>)
— Method: get-animatable

Retrieves the <clutter-animatable> set using clutter-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