Clutter.BehaviourDepth

g Clutter.Behaviour Clutter.Behaviour Clutter.BehaviourDepth Clutter.BehaviourDepth Clutter.Behaviour->Clutter.BehaviourDepth Clutter.Scriptable Clutter.Scriptable Clutter.Scriptable->Clutter.Behaviour GObject.GInterface GObject.GInterface GObject.GInterface->Clutter.Scriptable GObject.Object GObject.Object GObject.Object->Clutter.Behaviour

Subclasses:

None

Methods

Inherited:

Clutter.Behaviour (10), GObject.Object (37), Clutter.Scriptable (4)

Structs:

GObject.ObjectClass (5)

class

new (alpha, depth_start, depth_end)

get_bounds ()

set_bounds (depth_start, depth_end)

Virtual Methods

Inherited:

Clutter.Behaviour (3), GObject.Object (7), Clutter.Scriptable (4)

Properties

Inherited:

Clutter.Behaviour (1)

Name

Type

Flags

Short Description

depth-end

int

r/w

Final depth to apply deprecated

depth-start

int

r/w

Initial depth to apply deprecated

Signals

Inherited:

Clutter.Behaviour (2), GObject.Object (1)

Fields

Inherited:

Clutter.Behaviour (2), GObject.Object (1)

Name

Type

Access

Description

parent_instance

Clutter.Behaviour

r

Class Details

class Clutter.BehaviourDepth(**kwargs)
Bases:

Clutter.Behaviour

Abstract:

No

Structure:

Clutter.BehaviourDepthClass

The Clutter.BehaviourDepth structure contains only private data and should be accessed using the provided API

New 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:
Returns:

the newly created behaviour

Return type:

Clutter.Behaviour

Creates a new Clutter.BehaviourDepth which can be used to control the Clutter.Actor :depth property of a set of Clutter.Actor s.

If alpha is not None, the Clutter.Behaviour will take ownership of the Clutter.Alpha instance. In the case when alpha is None, it can be set later with Clutter.Behaviour.set_alpha().

New in version 0.4.

Deprecated since version 1.6.

get_bounds()
Returns:

depth_start:

return location for the initial depth value, or None

depth_end:

return location for the final depth value, or None

Return type:

(depth_start: int, depth_end: int)

Gets the boundaries of the self

New in version 0.6.

Deprecated since version 1.6.

set_bounds(depth_start, depth_end)
Parameters:
  • depth_start (int) – initial value of the depth

  • depth_end (int) – final value of the depth

Sets the boundaries of the self.

New in version 0.6.

Deprecated since version 1.6.

Property Details

Clutter.BehaviourDepth.props.depth_end
Name:

depth-end

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

End depth level to apply to the actors.

New in version 0.4.

Deprecated since version 1.6.

Clutter.BehaviourDepth.props.depth_start
Name:

depth-start

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Start depth level to apply to the actors.

New in version 0.4.

Deprecated since version 1.6.