Gtk.TreeModel.prototype.iter_parent

function iter_parent(child:Gtk.TreeIter):Boolean {
    // Gjs wrapper for gtk_tree_model_iter_parent()
}

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.

child

the Gtk.TreeIter

Returns

true, if iter is set to the parent of child