[Tutor] (no subject)
kent37 at tds.net
Tue Oct 13 13:01:36 CEST 2009
On Tue, Oct 13, 2009 at 3:29 AM, Albert-Jan Roskam <fomcl at yahoo.com> wrote:
> 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.
More information about the Tutor