Method
AtspiTextget_range_extents
Declaration [src]
AtspiRect*
atspi_text_get_range_extents (
AtspiText* obj,
gint start_offset,
gint end_offset,
AtspiCoordType type,
GError** error
)
Description [src]
Gets the bounding box for text within a range in an AtspiText
object.
The returned values are meaningful only if the Text has both
STATE_VISIBLE and STATE_SHOWING.
Parameters
start_offset |
gint |
A #gint indicating the offset of the first text character for whom boundary information is requested. |
|
end_offset |
gint |
A #gint indicating the offset of the text character after the last character for whom boundary information is requested. |
|
type |
AtspiCoordType |
An |
|
error |
GError ** |
The return location for a GError* , or NULL . |
Return value
Returns: | AtspiRect |
An |
|
The caller of the method takes ownership of the data, and is responsible for freeing it. |