TextT.getTextBeforeOffset

Gets the specified text.

More...
template TextT(TStruct)
string
getTextBeforeOffset
(
int offset
,
AtkTextBoundary boundaryType
,
out int startOffset
,
out int endOffset
)

Parameters

offset int

position

boundaryType AtkTextBoundary

An #AtkTextBoundary

startOffset int

the start offset of the returned string

endOffset int

the offset of the first character after the returned substring

Return Value

Type: string

a newly allocated string containing the text before @offset bounded by the specified @boundary_type. Use g_free() to free the returned string.

Detailed Description

Deprecated: Please use atk_text_get_string_at_offset() instead.

Meta