get_visible_rect


Description:

public void get_visible_rect (out Rectangle visible_rect)

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].

Parameters:

this

a `GtkTextView`

visible_rect

rectangle to fill