get_chars


Description:

public string get_chars (ssize_t start_pos, ssize_t end_pos)

Retrieves the contents of the Text actor between start_pos and end_pos, but not including end_pos.

The positions are specified in characters, not in bytes.

Parameters:

this

a Text

start_pos

start of text, in characters

end_pos

end of text, in characters

Returns:

a newly allocated string with the contents of the text actor between the specified positions. Use g_free to free the resources when done