Clutter.PaintNode¶
- Subclasses:
Methods¶
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Clutter.PaintNode¶
- Abstract:
Yes
- Structure:
The
ClutterPaintNode
structure contains only private data and it should be accessed using the provided API.New in version 1.10.
- add_child(child)¶
- Parameters:
child (
Clutter.PaintNode
) – the childClutter.PaintNode
to add
Adds child to the list of children of self.
This function will acquire a reference on child.
New in version 1.10.
- add_rectangle(rect)¶
- Parameters:
rect (
Clutter.ActorBox
) – aClutter.ActorBox
Adds a rectangle region to the self, as described by the passed rect.
New in version 1.10.
- add_texture_rectangle(rect, x_1, y_1, x_2, y_2)¶
- Parameters:
rect (
Clutter.ActorBox
) – aClutter.ActorBox
x_1 (
float
) – the left X coordinate of the texturey_1 (
float
) – the top Y coordinate of the texturex_2 (
float
) – the right X coordinate of the texturey_2 (
float
) – the bottom Y coordinate of the texture
Adds a rectangle region to the self, with texture coordinates.
New in version 1.10.
- ref()¶
- Returns:
- Return type:
Acquires a reference on self.
New in version 1.10.
- set_name(name)¶
- Parameters:
name (
str
) – a string annotating the self
Sets a user-readable name for self.
The name will be used for debugging purposes.
The self will copy the passed string.
New in version 1.10.
- unref()¶
Releases a reference on self.
New in version 1.10.