Method
ClutterTextget_chars
Declaration [src]
gchar*
clutter_text_get_chars (
ClutterText* self,
gssize start_pos,
gssize end_pos
)
Description [src]
Retrieves the contents of the ClutterText
actor between
start_pos
and end_pos
, but not including end_pos
.
The positions are specified in characters, not in bytes.
Available since: | 1.0 |
Parameters
start_pos |
gssize |
Start of text, in characters. |
|
end_pos |
gssize |
End of text, in characters. |
Return value
Returns: | gchar* |
A newly allocated string with the contents of
the text actor between the specified positions. Use |
|
The caller of the method takes ownership of the data, and is responsible for freeing it. | |
The value is a NUL terminated UTF-8 string. |