buffer_to_window_coords


Description:

public void buffer_to_window_coords (TextWindowType win, int buffer_x, int buffer_y, out int window_x, out int window_y)

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 set_border_window_size).

Parameters:

this

a TextView

win

a TextWindowType, except gtk_text_window_private

buffer_x

buffer x coordinate

buffer_y

buffer y coordinate

window_x

window x coordinate return location or null

window_y

window y coordinate return location or null