TkDestroy( Name, [Name]...)

Destroy (i.e. delete) windows and widgets

Arguments:

Name - a standard path-like name used to name the widget or window to be destroyed.

DESCRIPTION

This command deletes the windows or widgets given by the Name 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 or widget the command aborts without destroying the remaining. No error is returned if Name does not exist.