TreeView.getVisibleRange

Sets start_path and end_path to be the first and last visible path. Note that there may be invisible paths in between.

The paths should be freed with gtk.tree_path.TreePath.free after use.

class TreeView
bool
getVisibleRange

Parameters

startPath gtk.tree_path.TreePath

Return location for start of region, or null.

endPath gtk.tree_path.TreePath

Return location for end of region, or null.

Return Value

Type: bool

true, if valid paths were placed in start_path and end_path.