[ CCode ( has_construct_function = false , type = "ClutterPaintNode*" ) ]
public TextNode (Layout? layout, Color? color)
Creates a new PaintNode that will paint a Layout with the given color.
This function takes a reference on the passed layout
, so it is safe to call unref after it
returns.
layout |
a Layout, or |
color |
the color used to paint the layout, or |