tkinter widget destroy[x] code example Example: tkinter.destroy root.destroy() Class Method to Close the Tkinter Window