opening new window in one window using Tkinter -- Help please

Fredrik Lundh fredrik at pythonware.com
Sun Apr 24 14:55:56 EDT 2005


"Clara" wrote:

> Well, but where do I call withdraw?

when you want the new window to appear, and the old one to
go away, of course.  something like this, perhaps?

  from mainmenu import FileManager
  app2 = FileManager(self.username.get())
  app2.master.title("File Manager")
  app2.master.maxsize("400,1500")
- app2.mainloop()
+ app.master.withdraw()

</F>






More information about the Python-list mailing list