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 [method@Gtk.TextView.buffer_to_window_coords].

class TextView
void
getLineYrange
(,
out int y
,
out int height
)

Parameters

iter TextIter

a GtkTextIter

y int

return location for a y coordinate

height int

return location for a height

Meta