[ CCode ( has_construct_function = false , type = "ClutterActor*" ) ]
public Text.with_text (string? font_name, string text)
Creates a new Text actor, using font_name
as the font description; text
will be used to set the contents of the actor.
This function is equivalent to calling Text, set_font_name, and set_text.
font_name |
a string with a font description |
text |
the contents of the actor |
the newly created Text actor |