Method
Gtk.TreeModel.iter_parent
Declaration [src]
gboolean
gtk_tree_model_iter_parent (
GtkTreeModel* tree_model,
GtkTreeIter* iter,
GtkTreeIter* child
)
Description [src]
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 |
GtkTreeIter |
the new |
|
| Direction: out | |
| Ownership is not transferred to the callee | |
child |
GtkTreeIter |
the |
|
| Ownership is not transferred to the callee |