destroy.n revision 3f54fd611f536639ec30dd53c48e5ec1897cc7d9

Copyright (c) 1990 The Regents of the University of California.
Copyright (c) 1994-1996 Sun Microsystems, Inc.

See the file "license.terms" for information on usage and redistribution
of this file, and for a DISCLAIMER OF ALL WARRANTIES.

SCCS: @(#) destroy.n 1.13 96/03/26 18:21:26

.so man.macros
destroy n "" Tk "Tk Built-In Commands"
S Note: do not modify the .SH NAME line immediately below!
NAME
destroy - Destroy one or more windows
SYNOPSIS
destroy ?window window ...? E
DESCRIPTION

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.

KEYWORDS
application, destroy, window