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

wina #GtkTextWindowType, except [gtk.types.TextWindowType.Private]
bufferXbuffer x coordinate
bufferYbuffer y coordinate
windowXwindow x coordinate return location or null
windowYwindow y coordinate return location or null