1mNAME0m
       destroy - Destroy one or more windows

1mSYNOPSIS0m
       1mdestroy 22m?4mwindow24m 4mwindow24m 4m...24m?


1mDESCRIPTION0m
       This  command  deletes  the windows given by the 4mwindow24m arguments, plus
       all of their descendants.  If a 4mwindow24m ``.'' is deleted then the entire
       application will be destroyed.  The 4mwindow24ms 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 4mwindow24m does
       not exist.

1mEXAMPLE0m
       Destroy all checkbuttons that are direct children of the given widget:
              proc killCheckbuttonChildren {parent} {
                 foreach w [winfo children $parent] {
                    if {[winfo class $w] eq "Checkbutton"} {
                       1mdestroy 22m$w
                    }
                 }
              }


1mKEYWORDS0m
