Gtk.TreeModel.prototype.iter_children

function iter_children(parent:Gtk.TreeIter):Boolean {
    // Gjs wrapper for gtk_tree_model_iter_children()
}

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 <literal>gtk_tree_model_get_iter_first (tree_model, iter);</literal>

parent

the Gtk.TreeIter, or null

Returns

true, if @child has been set to the first child