Re: button label problem



vyadav cdotd ernet in 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





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