Retrieves a pointer to the current contents of a Text actor.
If you need a copy of the contents for manipulating, either use strdup on the returned string, or use:
copy = clutter_text_get_chars (text, 0, -1);
Which will return a newly allocated string.
If the Text actor is empty, this function will return an empty string, and not null
.
this |
a Text |
the contents of the actor. The returned string is owned by the Text actor and should never be modified or freed |