TextView.getLineAtY
void getLineAtY(out gtk.text_iter.TextIter targetIter, int y, out int lineTop)Gets the #GtkTextIter at the start of the line containing the coordinate y. y is in buffer coordinates, convert from window coordinates with [gtk.text_view.TextView.windowToBufferCoords]. If non-null, line_top will be filled with the coordinate of the top edge of the line.
Parameters
targetIter | a #GtkTextIter |
y | a y coordinate |
lineTop | return location for top coordinate of the line |