Class: Clutter::TextNode
Overview
The ClutterTextNodeClass structure is an opaque
type whose contents cannot be directly accessed.
Instance Method Summary collapse
-
#initialize(layout, color) ⇒ Clutter::PaintNode
constructor
Creates a new Clutter::PaintNode that will paint a #PangoLayout with the given color.
Methods inherited from PaintNode
#add_child, #add_rectangle, #add_texture_rectangle, #name=, #ref, #unref
Constructor Details
#initialize(layout, color) ⇒ Clutter::PaintNode
Creates a new Clutter::PaintNode that will paint a #PangoLayout with the given color.
This function takes a reference on the passed layout, so it is safe to call g_object_unref() after it returns.