destroy in tkinter code example Example: tkinter.destroy root.destroy() Class Method to Close the Tkinter Window