Clutter.TextNode¶
- Subclasses:
None
Methods¶
- Inherited:
class |
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Clutter.TextNode¶
- Bases:
- Abstract:
No
- Structure:
The
Clutter.TextNodestructure is an opaque type whose members cannot be directly accessed.New in version 1.10.
- classmethod new(layout, color)¶
- Parameters:
layout (
Pango.LayoutorNone) – aPango.Layout, orNonecolor (
Clutter.ColororNone) – 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.PaintNodethat will paint aPango.Layoutwith 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.