TextView.getVisibleRect

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

Convert to window coordinates with [method@Gtk.TextView.buffer_to_window_coords].

class TextView
void
getVisibleRect

Parameters

visibleRect GdkRectangle

rectangle to fill

Meta