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.BehaviourDepth
structure 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
:depth
instead.- classmethod new(alpha, depth_start, depth_end)¶
- Parameters:
alpha (
Clutter.Alpha
orNone
) – aClutter.Alpha
instance, orNone
depth_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.BehaviourDepth
which can be used to control theClutter.Actor
:depth
property of a set ofClutter.Actor
s.If alpha is not
None
, theClutter.Behaviour
will take ownership of theClutter.Alpha
instance. 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.