window_to_buffer_coords
Description:
public void window_to_buffer_coords (TextWindowType win, int window_x, int window_y, out int buffer_x, out int buffer_y)
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 set_border_window_size).
Parameters:
this |
a TextView |
win |
a TextWindowType except gtk_text_window_private |
window_x |
window x coordinate |
window_y |
window y coordinate |
buffer_x |
buffer x coordinate return location or null |
buffer_y |
buffer y coordinate return location or null |