get_nodes_in_path


Description:

[ Version ( since = "4.2" ) ]
public SList<unowned TreeNode> get_nodes_in_path (string? tree_path, bool use_names)

The returned list is a list of all the TreeNode nodes below the node at the specified path.

As a corner case if tree_path is null, then the returned list contains all the top level nodes.

Parameters:

this

a Tree object

tree_path

full path to the required nodes (if use_names is true, then it must start with '/'), or null

use_names

if true, then tree_path will be interpreted as a unix style path, and if false, then tree_path will be interpreted similarly to the GtkTreePath's string representation.

Returns:

a new list of TreeNode pointers, free it with g_slist_free