TextView.bufferToWindowCoords

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_set_border_window_size()).

class TextView
void
bufferToWindowCoords

Parameters

win GtkTextWindowType

a #GtkTextWindowType, except %GTK_TEXT_WINDOW_PRIVATE

bufferX int

buffer x coordinate

bufferY int

buffer y coordinate

windowX int

window x coordinate return location or %NULL

windowY int

window y coordinate return location or %NULL

Meta