Constructor

ClutterTextBuffernew_with_text

Declaration [src]

ClutterTextBuffer*
clutter_text_buffer_new_with_text (
  const gchar* text,
  gssize text_len
)

Description [src]

Create a new ClutterTextBuffer object with some text.

Available since:1.10

Parameters

text const gchar*
 

Initial buffer text.

 The argument can be NULL.
 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
text_len gssize
 

Initial buffer text length, or -1 for null-terminated.

Return value

Returns: ClutterTextBuffer
 

A new ClutterTextBuffer object.

 The caller of the function takes ownership of the data, and is responsible for freeing it.