TextIF.getTextBeforeOffset

Gets the specified text.

More...
interface TextIF
string
getTextBeforeOffset

Parameters

offset int

position

boundaryType AtkTextBoundary

An #AtkTextBoundary

startOffset int

the starting character 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