Package: gtk

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

Lambda List

gtk:text-view-window-to-buffer-coords (view wtype xwindow ywindow)

Arguments

view -- a gtk:text-view widget
wtype -- a gtk:text-window-type value, except :private
xwindow -- an integer for the window x coordinate
ywindow -- an integer for the window y coordinate

Return Value

xbuffer -- an integer with the text buffer x coordinate or
ybuffer -- an integer with the text buffer y coordinate

Details

Converts window coordinates (xwindow,ywindow) on the text view window identified by wtype to text buffer coordinates (xbuffer,ybuffer).

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

See also

#2025-1-25