Next: , Previous: ClutterBehaviourEllipse, Up: Top


8 ClutterBehaviourOpacity

Behaviour controlling the opacity

8.1 Overview

<clutter-behaviour-opacity> controls the opacity of a set of actors.

8.2 Usage

— Class: <clutter-behaviour-opacity>

Derives from <clutter-behaviour>.

This class defines the following slots:

opacity-start
Initial opacity level
opacity-end
Final opacity level
— Function: clutter-behaviour-opacity-new (alpha <clutter-alpha>) (opacity_start unsigned-int8) (opacity_end unsigned-int8)   (ret <clutter-behaviour>)

Creates a new <clutter-behaviour-opacity> object, driven by alpha which controls the opacity property of every actor, making it change in the interval between opacity-start and opacity-end.

alpha
a <clutter-alpha> instance, or ‘#f
opacity-start
minimum level of opacity
opacity-end
maximum level of opacity
ret
the newly created <clutter-behaviour-opacity>

Since 0.2