TextView.getVisibleRect

Fills visible_rect with the currently-visible region of the buffer, in buffer coordinates. Convert to window coordinates with TextView.bufferToWindowCoords.

class TextView
void
getVisibleRect

Parameters

visibleRect GdkRectangle

rectangle to fill