Text.getRangeExtents

void getRangeExtents(int startOffset, int endOffset, atk.types.CoordType coordType, out atk.types.TextRectangle rect)

Get the bounding box for text within the specified range.

If the extents can not be obtained (e.g. or missing support), the rectangle fields are set to -1.

Parameters

startOffsetThe offset of the first text character for which boundary information is required.
endOffsetThe offset of the text character after the last character for which boundary information is required.
coordTypeSpecify whether coordinates are relative to the screen or widget window.
rectA pointer to a AtkTextRectangle which is filled in by this function.