Method

ClutterTextinsert_text

Declaration [src]

void
clutter_text_insert_text (
  ClutterText* self,
  const gchar* text,
  gssize position
)

Description [src]

Inserts text into a ClutterActor at the given position.

If position is a negative number, the text will be appended at the end of the current contents of the ClutterText.

The position is expressed in characters, not in bytes.

Available since:1.0

Parameters

text const gchar*
 

The text to be inserted.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
position gssize
 

The position of the insertion, or -1