tkinter delete toplevel

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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
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)