Virtual Method

GtkTreeModeliter_n_children

Declaration [src]

int
iter_n_children (
  GtkTreeModel* tree_model,
  GtkTreeIter* iter
)

Description [src]

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

iter

Type: GtkTreeIter

The GtkTreeIter

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: int

The number of children of iter.