TextView.getVisibleRect

void getVisibleRect(out gdk.rectangle.Rectangle visibleRect)

Fills visible_rect with the currently-visible region of the buffer, in buffer coordinates.

Convert to window coordinates with gtk.text_view.TextView.bufferToWindowCoords.

Parameters

visibleRectrectangle to fill