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

Re: GtkCombo box + GtkEntry



Hello:

Try using "changed" signal instead:


gtk_signal_connect(GTK_OBJECT(GTK_COMBO(combo_widget)->entry),
		   "changed",
		   GTK_SIGNAL_FUNC (c_funcb),
		   (gpointer)data);

Bye

Benat

On Sat, 2002-03-23 at 06:58, Mohan Chirumamilla wrote:
> Hi All,
> 
> I hope some one out there can help out with this
> problem of mine.
> 
> I have two widgets combo box and a GtkEntry.
> 
> Now I want to set the text of my GtkEntry to the
> current selection of item in the Combo box. And the
> text entry should change accordingly each time I
> change my selection in the combo.
> 
> I tried the "activate" signal... but its not at all
> helpful as I had to punch the enter key if I had to
> update my GtkEntry.
> 
> I am stuck at this point unless some one help me out.
> 
> Thanks
> Mohan
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Movies - coverage of the 74th Academy Awards®
> http://movies.yahoo.com/
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list






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