TreeModelT.iterParent

Sets iter to be the parent of child. If child is at the toplevel, and doesn't have a parent, then iter is set to an invalid iterator and FALSE is returned. child will remain a valid node after this function has been called.

template TreeModelT(TStruct)
int
iterParent

Parameters

iter TreeIter

The new GtkTreeIter to set to the parent. out

child TreeIter

The GtkTreeIter.

Return Value

Type: int

TRUE, if iter is set to the parent of child.

Meta