TextView.getLineAtY

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_window_to_buffer_coords(). If non-%NULL, @line_top will be filled with the coordinate of the top edge of the line.

class TextView
void
getLineAtY
(,
int y
,
out int lineTop
)

Parameters

targetIter TextIter

a #GtkTextIter

y int

a y coordinate

lineTop int

return location for top coordinate of the line

Meta