On Tue, Oct 13, 2009 at 3:29 AM, Albert-Jan Roskam <fo...@yahoo.com> wrote: > Hi, > > I'm using Tkinter to program my very frist GUI. Each button grays out after > it has been used so the user knows what next steps to take. > Now I want to define a Reset button to 'ungray' all buttons (state='normal'). > How can I programmatically create a list of all available buttons?
When you create the buttons, add them to a list. Keep the list as a member of the class that handles the buttons so it is available to the Reset button handler. Kent _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor