TreeModel.iterNChildren

int iterNChildren(gtk.tree_iter.TreeIter iter = null)

Returns the number of children that iter has.

As a special case, if iter is null, then the number of toplevel nodes is returned.

Parameters

iterthe #GtkTreeIter-struct, or null

Returns

the number of children of iter