Get (x,y) position of the caret

Hi, ALL,

The “extend-selection” signal takes 3 GtkTextIter parameters: location, start and stop,

I understand I can get the y coordinate of the caret by calling gtk_text_iter_get_line( stop ).

But what about x position? How can I get that? Is this the function to use: gtk-text-iter-get-line-offset()?

Thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.