2011/4/27 Lothar Scholz <llothar@xxxxxx>
Hello richard,
Wednesday, April 27, 2011, 1:11:32 PM, you wrote:
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
gtk_tree_model_iter_n_children(GTK_TREE_MODEL(gtk_combo_box_get_model(combo_box)),NULL);
--Â
Best regards,
ÂLothar              Âmailto:llothar@xxxxxx
--
Emmanuel Mbenga Gontcho
!!!!! Gem !!!!!
gontcho.wordpress.com
N'utilisez pas Windows 7. Pour savoir pourquoi : http://windows7sins.org/
Don't use Windows 7. To know why : http://windows7sins.org/
Membre de l'April -  promouvoir et dÃfendre le logiciel libre  - http://www.april.org
Rejoignez maintenant plus de 2 500 personnes, associations, entreprises et
collectivitÃs qui soutiennent notre action
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list