well, i guess i wonder how it's possible to fill in the combo box with entries, while not being able to count them at the same time.
When you pass the combo box to some extensions doing the fill in this can be problem.
Yes i know - pathetic argument - but the API should have a call for it.
I run into the same problems when writing a cross-toolkit portability layer.
By the way, one way might be taking the tree model and calling the n_children method