TextView.getLineYrange

void getLineYrange(gtk.text_iter.TextIter iter, out int y, out int height)

Gets the y coordinate of the top of the line containing iter, and the height of the line.

The coordinate is a buffer coordinate; convert to window coordinates with gtk.text_view.TextView.bufferToWindowCoords.

Parameters

itera gtk.text_iter.TextIter
yreturn location for a y coordinate
heightreturn location for a height