I am not sure that it solves your question but the example program tt095.py at the link http://www.ferg.org/thinking_in_tkinter/all_programs.html performs such a thing. it can suggest you a way to succeed your aim.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Lacroix Sent: Wednesday, May 03, 2006 2:54 PM To: [email protected] Subject: [Tkinter-discuss] A Hello and a Question Hello, I'm new to this list. I've come in search of some answers to questions I hope I can articulate enough to be understood. I would like to know how one would create a button that when clicked would clear the entire set of widgets (including the clicked button itself) and then display a whole new set of widgets. The goal is to write a program that has about 6 different steps the user goes through to submit information. So for instance the first frame would welcome the user and display a "Click to Continue" button. When the button is clicked, the widgets would all disappear and be replaced by a new set of widgets. When these widgets are finsihed being used and the "Continue" or "Submit" button is clicked, again a new set of widgets would replace the old...and so on. I am lost as to how I would design a class(?) that would carry out such a task. Ultimately, when the last set of widgets is finished, the program would revert back to the first set of widgets. Is what I am asking clear? Any help would be appreciated. Peter. _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ _______________________________________________ Tkinter-discuss mailing list [email protected] http://mail.python.org/mailman/listinfo/tkinter-discuss ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________ Tkinter-discuss mailing list [email protected] http://mail.python.org/mailman/listinfo/tkinter-discuss
