In Python, I'm trying to make an App, so after logging in, a new window is created, to delete the previous window I have tried to use .destroy() or .exit(), but along with the old window, even the new window gets deleted...can someone please help me?
Asked
Active
Viewed 83 times
0
-
You are using `tk.Toplevel` right? Destroying the main window destroy all TopLevel – PCM Sep 29 '21 at 12:13
-
Please provide enough code so others can better understand or reproduce the problem. – Community Oct 07 '21 at 08:50
-
https://stackoverflow.com/questions/3819354/in-tkinter-is-there-any-way-to-make-a-widget-invisible In Tkinter is there any way to make a widget invisible? – pippo1980 Oct 23 '21 at 12:39