I'm not sure what you want. Do you want the button to change back and forth between two labels each time you click?
Daniel On Wed, 14 Aug 2002 [EMAIL PROTECTED] wrote: > > hi... > > thanx for ur help.... > > i want to ask one more thing..if i changed the label by clicking > once..how can i change it again on next click... > > thanx..in advance... > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Tue, 13 Aug 2002, Olexiy Avramchenko wrote: > > > [EMAIL PROTECTED] wrote: > > > > > hi.. > > > > > > i did like it..but i got undefined reference of "gtk_button_set_label" > > > > > > then what should i do.... > > > > > > thanx... > > > > > Oops, you're using gtk+-1.2, the gtk_button_set_label function is from > > gtk+-2.0 library. > > Try this: > > --- > > gtk_label_set_text(GTK_LABEL(GTK_BIN(button)->child), label); > > --- > > instead of > > > > --- > > gtk_button_set_label(...) > > --- > > > > Olexiy > > > > > > _______________________________________________ > > gtk-list mailing list > > [EMAIL PROTECTED] > > http://mail.gnome.org/mailman/listinfo/gtk-list > > > > > > > _______________________________________________ > gtk-list mailing list > [EMAIL PROTECTED] > http://mail.gnome.org/mailman/listinfo/gtk-list > _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
