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 tree coordinates.

Note:

Use [class@Gtk.ListView] or [class@Gtk.ColumnView] instead

Convert to bin_window coordinates with convert_tree_to_bin_window_coords. Tree coordinates start at 0,0 for row 0 of the tree, and cover the entire scrollable area of the tree.

Parameters:

this

a `GtkTreeView`

visible_rect

rectangle to fill