RE: optionmenu question



You should be able to pick up signals from the embedded entry and list widgets.
For example you should be able to connect to the
GTK_ENTRY(GTK_COMBO(combo)->entry) widget and recieve "changed" signals.
Likewise you should be able to recieve "selection_changed" signals from the
GTK_LIST(GTK_COMBO(combo)->list) widget.  In other words, using the above
typecast checking you can treat the embedded gtkentry and gtklist as ordinary
gtkentry and gtklist widgets.  Hope this helps.



				-- Stupid Genius

> ----------
> From: 	Diego Zuccato[SMTP:cssl@geocities.com]
> Sent: 	Monday, August 28, 2000 12:12 PM
> To: 	gtk-list@gnome.org
> Subject: 	optionmenu question
> 
> Hello all.
> 
> Isn't there anybody using the option menu widget ?
> It seems it's not emitting any signal, so the only way to know if it's
> been modified is to poll it.
> Is it right ? Or should it emit any signal ?
> 
> Tks,
>  Diego.
> 
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 





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