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.

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 TreeView

visible_rect

rectangle to fill




2022 vala-language.org