TextView.getLineYrange

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.

class TextView
void
getLineYrange

Parameters

iter gtk.text_iter.TextIter
y int

return location for a y coordinate

height int

return location for a height