Clutter.BehaviourDepth¶
- 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 depth to apply |
||
r/w |
Initial depth to apply |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Clutter.BehaviourDepth(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
Clutter.BehaviourDepthstructure 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() with
Clutter.Actor:depthinstead.- classmethod new(alpha, depth_start, depth_end)¶
- Parameters:
alpha (
Clutter.AlphaorNone) – aClutter.Alphainstance, orNonedepth_start (
int) – initial value of the depthdepth_end (
int) – final value of the depth
- Returns:
the newly created behaviour
- Return type:
Creates a new
Clutter.BehaviourDepthwhich can be used to control theClutter.Actor:depthproperty of a set ofClutter.Actors.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.4.
Deprecated since version 1.6.
- get_bounds()¶
- Returns:
- Return type:
Gets the boundaries of the self
New in version 0.6.
Deprecated since version 1.6.
Property Details¶
- Clutter.BehaviourDepth.props.depth_end¶
-
End depth level to apply to the actors.
New in version 0.4.
Deprecated since version 1.6.