TextView.windowToBufferCoords

void windowToBufferCoords(gtk.types.TextWindowType win, int windowX, int windowY, out int bufferX, out int bufferY)

Converts coordinates on the window identified by win to buffer coordinates.

Parameters

wina [gtk.types.TextWindowType]
windowXwindow x coordinate
windowYwindow y coordinate
bufferXbuffer x coordinate return location
bufferYbuffer y coordinate return location