[Glade-users] about optionmenu ...

asmouta@nomade.fr asmouta@nomade.fr
Wed, 9 Jul 2003 09:02:52 +0200


Hi all

I need some clarification about the optionmenu, I used the
optiomenu in my glade interface and now I need to get the
value selected ...I seems to me that's an entry and I tried
to get it first with the following function :

GtkWidget *mois;
gchar *x;

mois = gtk_option_menu_get_menu (GTK_OPTION_MENU(optionmenu1));
x = gtk_entry_get_text(GTK_MENU(mois));

Of course, it doesn't work !!! Can someone help me to get
the value selected.

Thanks a lot.

********** L'ADSL A 20 EUR/MOIS**********
Tiscali propose l'ADSL le moins cher du marché : 20 EUR/mois et le modem ADSL offert ! 
Pour profiter de cette offre exceptionnelle, cliquez ici : http://register.tiscali.fr/adsl/
Offre soumise à conditions.