TextView.getVisibleRect

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

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

class TextView
void
getVisibleRect

Parameters

visibleRect gdk.rectangle.Rectangle

rectangle to fill