Thank you Lothar, I will try your solution.

2011/4/27 Lothar Scholz <[email protected]>

>  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:[email protected] <[email protected]>*
>



-- 
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
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to