Method

ClutterTextBufferget_text

Declaration [src]

const gchar*
clutter_text_buffer_get_text (
  ClutterTextBuffer* buffer
)

Description [src]

Retrieves the contents of the buffer.

The memory pointer returned by this call will not change unless this object emits a signal, or is finalized.

Available since:1.10

Return value

Returns: const gchar*
 

A pointer to the contents of the widget as a string. This string points to internally allocated storage in the buffer and must not be freed, modified or stored.

 The data is owned by the instance.
 The value is a NUL terminated UTF-8 string.