tkinter delete toplevel

Solutions on MaxInterview for tkinter delete toplevel by the best coders in the world

showing results for - "tkinter delete toplevel"
Anna
27 Jun 2016
1main = Toplevel()
2
3def ded():
4	main.destroy()
5    
6exit = Button(main, text = "Exit", padx = 20 , pady = 10, command = ded)
7exit.grid(row = 0, column = 0)