[Glade-users] combo-box text



Hi,

when I insert a combobox with a list of elements (Ex.:"London", "Paris", "Rome", etc.) I use on my app:

gchar*      gtk_combo_box_get_active_text   (GtkComboBox *combo_box);

but in runtime I got:

Gtk-CRITICAL **: gtk_combo_box_get_active_text: assertion `GTK_IS_COMBO_BOX (combo_box)' failed

Why? Is it not a 'gtk_combo_box_new_text'? Just a "simple" gtk_combo_box_new_with_model? Eventually, in next 
versions of glade (I'm using 2.6.5) it will be included as an 'alternative' option for combobox?

Thanks
Giulio
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Solo 10 Euro per chiamare in tutto il mondo!! Scopri il vantaggio di Email Phone Card,        clicca subito
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2685&d=18-11




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]