Virtual Method

AtkTextget_caret_offset

Declaration [src]

gint
get_caret_offset (
  AtkText* text
)

Description [src]

Gets the offset of the position of the caret (cursor).

Return value

Returns: gint
 

The character offset of the position of the caret or -1 if the caret is not located inside the element or in the case of any other failure.