[Glade-users] Freezing widgets



On Tue, 2003-12-16 at 17:27, todd keeler wrote:
I would like to have some radio buttons become
inaccessible according to a state in my program.  I
can't seem to find anyway to freeze, or grey out
buttons or windows so that they can be seen but not
used.  Is there any easy way to do this..?  I've
picked throught the gtk reference, but haven't found
anything promising

"Greying out" is called "insensitive" in GTK; you probably want:
gtk_widget_set_sensitive (your_widget, FALSE)


Thanks


______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca
_______________________________________________
Glade-users maillist  -  Glade-users lists ximian com
http://lists.ximian.com/mailman/listinfo/glade-users
-- 
David Malcolm
http://www.davemalcolm.demon.co.uk





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