I've found the solution I must destroy the first window using
self.master.destroy(), but thanks anyway ^_^
--
http://mail.python.org/mailman/listinfo/python-list
since the file where i call the first window and the second window is
different,.If I put app.master.withdraw() there,...won't I get error
message that says; app is not defined as global or something like that?
--
http://mail.python.org/mailman/listinfo/python-list
"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.maxsiz
Forgive my ignorance, but where do I call withdraw?
--
http://mail.python.org/mailman/listinfo/python-list
Well, but where do I call withdraw?
--
http://mail.python.org/mailman/listinfo/python-list
"Clara" wrote:
> I meant to write an application where there is a button in a window and
> when you click on the button, it will open a new window, but I want the
> first window to close, replaced by the second window.
> I open a login window and start the mainloop, when the user click on
> the lo