Clutter.TextNode¶
- Subclasses:
None
Methods¶
- Inherited:
class |
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Clutter.TextNode¶
- Bases:
- Abstract:
No
- Structure:
The
Clutter.TextNode
structure is an opaque type whose members cannot be directly accessed.New in version 1.10.
- classmethod new(layout, color)¶
- Parameters:
layout (
Pango.Layout
orNone
) – aPango.Layout
, orNone
color (
Clutter.Color
orNone
) – the color used to paint the layout, orNone
- Returns:
the newly created
Clutter.PaintNode
. UseClutter.PaintNode.unref
() when done- Return type:
Creates a new
Clutter.PaintNode
that will paint aPango.Layout
with the given color.This function takes a reference on the passed layout, so it is safe to call
GObject.Object.unref
() after it returns.New in version 1.10.