TreeModelT.iterNChildren

Returns the number of children that iter has.

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

template TreeModelT(TStruct)
int
iterNChildren

Parameters

iter TreeIter

the [GtkTreeIter-struct|GtkTreeIter-struct], or NULL

Return Value

Type: int

the number of children of iter