TreeModel.iterParent
bool iterParent(out gtk.tree_iter.TreeIter iter, gtk.tree_iter.TreeIter child)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.
iter will be initialized before the lookup is performed, so child and iter cannot point to the same memory location.
Parameters
iter | the new [gtk.tree_iter.TreeIter] to set to the parent |
child | the [gtk.tree_iter.TreeIter] |
Returns
true, if iter is set to the parent of child