Method

AtkTextget_range_extents

Declaration [src]

void
atk_text_get_range_extents (
  AtkText* text,
  gint start_offset,
  gint end_offset,
  AtkCoordType coord_type,
  AtkTextRectangle* rect
)

Description [src]

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.

Available since:1.3

Parameters

start_offset gint
 

The offset of the first text character for which boundary information is required.

end_offset gint
 

The offset of the text character after the last character for which boundary information is required.

coord_type AtkCoordType
 

Specify whether coordinates are relative to the screen or widget window.

rect AtkTextRectangle
 

A pointer to a AtkTextRectangle which is filled in by this function.

 The argument will be set by the function.
 The data is owned by the caller of the function.