shithub: purgatorio

ref: 75c92428225428c8fde2d015f010e608a0b12f1d
dir: purgatorio/man/9/destroy

View raw version
.TH DESTROY 9
.SH NAME
destroy \- Destroy one or more windows
.SH SYNOPSIS
\f5destroy \fR?\fIwindow window ...\fR?

.SH DESCRIPTION
This command deletes the windows given by the
\fIwindow\fR arguments, plus all of their descendants.
The \fIwindow\fRs are destroyed in order, and if an error occurs
in destroying a window the command aborts without destroying the
remaining windows.
.PP
The
.B Destroy
event is fired for each window destroyed, including descendants.
.PP
If the window ``.'' is specified, it is unmapped rather than destroyed
and the
.B Destroy
event is not fired on it.
However, all of its decendants are destroyed as normal.
.SH SEE ALSO
.IR bind (9)