TreeStore.iterDepth

int iterDepth(gtk.tree_iter.TreeIter iter)

Returns the depth of the position pointed by the iterator

The depth will be 0 for anything on the root level, 1 for anything down a level, etc.

Parameters

iterA valid [gtk.tree_iter.TreeIter]

Returns

The depth of the position pointed by the iterator

Deprecated

Use [gtk.tree_list_model.TreeListModel] instead