Re: button label problem
- From: Olexiy Avramchenko <ath beast stu cn ua>
- To: vyadav cdotd ernet in
- Cc: Olexiy Avramchenko <ath beast stu cn ua>, gtk-list gnome org
- Subject: Re: button label problem
- Date: Tue, 13 Aug 2002 17:26:43 +0300
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]