TextView.bufferToWindowCoords
void bufferToWindowCoords(gtk.types.TextWindowType win, int bufferX, int bufferY, out int windowX, out int windowY)Converts coordinate (buffer_x, buffer_y) to coordinates for the window win, and stores the result in (window_x, window_y).
Note that you can’t convert coordinates for a nonexisting window (see [gtk.text_view.TextView.setBorderWindowSize]).
Parameters
win | a #GtkTextWindowType, except [gtk.types.TextWindowType.Private] |
bufferX | buffer x coordinate |
bufferY | buffer y coordinate |
windowX | window x coordinate return location or null |
windowY | window y coordinate return location or null |