Re: GtkComboBox
- From: Emmanuel Gontcho <gontcho gmail com>
- To: Lothar Scholz <llothar web de>
- Cc: richard boaz <ivor boaz gmail com>, Gnome List <gtk-list gnome org>
- Subject: Re: GtkComboBox
- Date: Thu, 28 Apr 2011 03:42:12 +0100
Thank you Lothar, I will try your solution.
2011/4/27 Lothar Scholz
<llothar web de>
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 web de
--
Emmanuel Mbenga Gontcho
!!!!! Gem !!!!!
gontcho.wordpress.comN'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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]