Method

AtkTextget_caret_offset

Declaration [src]

gint
atk_text_get_caret_offset (
  AtkText* text
)

Description [src]

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

Return value

Type: 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.