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 gtk:text-window-type value, except :private
xbuffer -- an integer for the text buffer x coordinate
ybuffer -- an integer for 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

#2025-1-25