Converts coordinates on the window identified by win to buffer coordinates, storing the result in (buffer_x,buffer_y). Note that you can't convert coordinates for a nonexisting window (see gtk_text_view_set_border_window_size()).
a GtkTextWindowType except GTK_TEXT_WINDOW_PRIVATE
window x coordinate
window y coordinate
buffer x coordinate return location or NULL. out[allow-none]
buffer y coordinate return location or NULL. out[allow-none]
See Implementation
Converts coordinates on the window identified by win to buffer coordinates, storing the result in (buffer_x,buffer_y). Note that you can't convert coordinates for a nonexisting window (see gtk_text_view_set_border_window_size()).