get_visible_range


Description:

public bool get_visible_range (out TreePath start_path, out TreePath end_path)

Sets start_path and end_path to be the first and last visible path.

Note:

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

Note that there may be invisible paths in between.

The paths should be freed with free after use.

Parameters:

this

A `GtkTreeView`

start_path

Return location for start of region

end_path

Return location for end of region

Returns:

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