[Glade-users] How can I change my widget setting?



--0-1769374399-1072162677=:65902
Content-Type: text/plain; charset=us-ascii

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!?
Yahoo! Photos - Get your photo on the big screen in Times Square
--0-1769374399-1072162677=:65902
Content-Type: text/html; charset=us-ascii

<DIV>
<DIV>
<DIV>Hi all,I'm a new user of GTK+.</DIV>
<DIV>I have a problem.I use GLADE to creat&nbsp;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!</DIV></DIV></DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
Yahoo! Photos - <a 
href="http://us.rd.yahoo.com/evt=21486/*http://f1.pg.photos.yahoo.com/ph//spsimplenol?.file=ny_ts_splash.html";>Get
 your photo on the big screen in Times Square</a>
--0-1769374399-1072162677=:65902--




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