API Version: 1.0
Library Version: 2.52
Generated bygi-docgen 2025.6
gintatk_text_get_caret_offset(AtkText*text)
Gets the offset of the position of the caret (cursor).
Type: gint
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.