Text.getTextBeforeOffset

Gets the specified text.

More...
interface Text
string
getTextBeforeOffset

Parameters

offset int

position

boundaryType atk.types.TextBoundary

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 glib.global.gfree to free the returned string.

Detailed Description

Deprecated: Please use atk.text.Text.getStringAtOffset instead.