by the specified boundary_type. Use glib.global.gfree to free the returned string.
Text.getTextBeforeOffset
string getTextBeforeOffset(int offset, atk.types.TextBoundary boundaryType, out int startOffset, out int endOffset)Gets the specified text.
Parameters
offset | position |
boundaryType | An #AtkTextBoundary |
startOffset | the starting character offset of the returned string |
endOffset | the offset of the first character after the returned substring |
Returns
a newly allocated string containing the text before offset bounded
Deprecated
Please use atk.text.Text.getStringAtOffset instead.