Constructor
ClutterTextnew_full
Declaration [src]
ClutterActor*
clutter_text_new_full (
const gchar* font_name,
const gchar* text,
const ClutterColor* color
)
Description [src]
Creates a new ClutterText
actor, using font_name
as the font
description; text
will be used to set the contents of the actor;
and color
will be used as the color to render text
.
This function is equivalent to calling clutter_text_new(),
clutter_text_set_font_name(), clutter_text_set_text()
and clutter_text_set_color().
Available since: | 1.0 |
Parameters
font_name |
const gchar* |
A string with a font description. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
text |
const gchar* |
The contents of the actor. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
color |
ClutterColor |
The color to be used to render |
|
The data is owned by the caller of the function. |
Return value
Returns: | ClutterActor |
The newly created |
|
The data is owned by the called function. |