IconView.getVisibleRange

bool getVisibleRange(out gtk.tree_path.TreePath startPath, out gtk.tree_path.TreePath endPath)

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

Both paths should be freed with [gtk.tree_path.TreePath.free] after use.

Parameters

startPathReturn location for start of region
endPathReturn location for end of region

Returns

true, if valid paths were placed in start_path and end_path

Deprecated

Use [gtk.grid_view.GridView] instead