How can I change my widget setting?



Hi all,I'm a new user of GTK+.
I have a problem.I use GLADE to creat two windows .The window_main contains 4 buttons(button1 to button4).Window_pop contain one button(button5). I want to do is:when start,button1 is sensitive,the other is unsensitive,Press button1,popup the window_pop,press button5,it close window_pop,and set button2 to button4 sensitive.But at callback.c,I can't use gtk_widget_set_sensitive(button2) to set it.If I must declare every widget on callback.c?(GLADE default genarator main.c,interface.c,callback.c and support.c,and it declare every widget in intreface.c).I say enough?Thanks!


Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing

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