Package: gtk

Function gtk-text-view-buffer-to-window-coords

Lambda List

gtk-text-view-buffer-to-window-coords (view wtype xbuffer ybuffer)

Arguments

view -- a gtk-text-view widget
wtype -- a value of the gtk-text-window-type enumeration, except :private
xbuffer -- an integer with the text buffer x coordinate
ybuffer -- an integer with the text buffer y coordinate

Return Value

xwindow -- an integer with the window x coordinate
ywindow -- an integer with the window y coordinate

Details

Converts the text buffer coordinates (xbuffer, ybuffer) to window coordinates (xwindow, ywindow) for the text view window of type wtype.

Note that you cannot convert coordinates for a nonexisting window, see the gtk-text-view-border-window-size function.
 

See also

2021-10-16