Clutter.TextNode

g Clutter.PaintNode Clutter.PaintNode Clutter.TextNode Clutter.TextNode Clutter.PaintNode->Clutter.TextNode

Subclasses:

None

Methods

Inherited:

Clutter.PaintNode (6)

class

new (layout, color)

Virtual Methods

None

Fields

None

Class Details

class Clutter.TextNode
Bases:

Clutter.PaintNode

Abstract:

No

Structure:

Clutter.TextNodeClass

The Clutter.TextNode structure is an opaque type whose members cannot be directly accessed.

New in version 1.10.

classmethod new(layout, color)
Parameters:
Returns:

the newly created Clutter.PaintNode. Use Clutter.PaintNode.unref() when done

Return type:

Clutter.PaintNode

Creates a new Clutter.PaintNode that will paint a Pango.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.