Tk destroy

This page is automatically generated from the corresponding Tk manual page. It describes the Tcl interface to Tk.

Table of Contents


destroy - Destroy one or more windows


destroy ?window window ...?


This command deletes the windows given by the window arguments, plus all of their descendants. If a window ``.'' is deleted then the entire application will be destroyed. The windows are destroyed in order, and if an error occurs in destroying a window the command aborts without destroying the remaining windows. No error is returned if window does not exist.


application, destroy, window

Table of Contents