Package: gtk

Function gtk:text-view-line-yrange

Lambda List

gtk:text-view-line-yrange (view iter)

Syntax

(gtk:text-view-line-yrange view iter) => y, height

Arguments

view -- a gtk:text-view widget
iter -- a gtk:text-iter iterator
y}{an integer for the y coordinate} @argument[height -- an integer for the height

Details

Gets the y coordinate of the top of the line containing iter, and the height of the line. The coordinate is a text buffer coordinate. Convert to window coordinates with the gtk:text-view-buffer-to-window-coords function.
 

See also

#2024-07-25