TextT.getText

Gets the specified text.

template TextT(TStruct)
string
getText

Parameters

startOffset int

a starting character offset within text

endOffset int

an ending character offset within text, or -1 for the end of the string.

Return Value

Type: string

a newly allocated string containing the text from start_offset up to, but not including end_offset. Use g_free() to free the returned string.