Clutter.BehaviourOpacity¶
- Subclasses:
None
Methods¶
- Inherited:
Clutter.Behaviour (10), GObject.Object (37), Clutter.Scriptable (4)
- Structs:
class |
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w |
Final opacity level |
||
r/w |
Initial opacity level |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class Clutter.BehaviourOpacity(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
Clutter.BehaviourOpacitystructure contains only private data and should be accessed using the provided APINew in version 0.2.
Deprecated since version 1.6: Use clutter_actor_animate() and
Clutter.Actor:opacityinstead.- classmethod new(alpha, opacity_start, opacity_end)¶
- Parameters:
alpha (
Clutter.AlphaorNone) – aClutter.Alphainstance, orNoneopacity_start (
int) – minimum level of opacityopacity_end (
int) – maximum level of opacity
- Returns:
the newly created
Clutter.BehaviourOpacity- Return type:
Creates a new
Clutter.BehaviourOpacityobject, driven by alpha which controls the opacity property of every actor, making it change in the interval between opacity_start and opacity_end.If alpha is not
None, theClutter.Behaviourwill take ownership of theClutter.Alphainstance. In the case when alpha isNone, it can be set later withClutter.Behaviour.set_alpha().New in version 0.2.
Deprecated since version 1.6.
- get_bounds()¶
- Returns:
- Return type:
Gets the initial and final levels of the opacity applied by self on each actor it controls.
New in version 0.6.
Deprecated since version 1.6.
Property Details¶
- Clutter.BehaviourOpacity.props.opacity_end¶
-
Final opacity level of the behaviour.
New in version 0.2.
Deprecated since version 1.6.