iter_children


Description:

public abstract bool iter_children (out TreeIter iter, TreeIter? parent)

Sets iter to point to the first child of parent.

If parent has no children, false is returned and iter is set to be invalid. parent will remain a valid node after this function has been called.

If parent is null returns the first node, equivalent to `gtk_tree_model_get_iter_first ( tree_model, iter);`

Parameters:

this

a `GtkTreeModel`

iter

the new `GtkTreeIter` to be set to the child

parent

the `GtkTreeIter`

Returns:

true, if iter has been set to the first child




2022 vala-language.org