XDestroyWindow(3X) — X Version 11
NAME
XDestroyWindow, XDestroySubwindows − destroy windows
SYNTAX
XDestroyWindow(display, w)
Display ∗display;
Window w;
XDestroySubwindows(display, w)
Display ∗display;
Window w;
ARGUMENTS
displaySpecifies the connection to the X server.
wSpecifies the window ID.
DESCRIPTION
The XDestroyWindow function destroys the specified window as well as all of its subwindows and causes the X server to generate a DestroyNotify event for each window. .PN XDestroyWindow can generate a BadWindow error.
The XDestroySubwindows function destroys all inferior windows of the specified window, in bottom to top stacking order. It causes the X server to generate a DestroyNotify event for each window. If any mapped subwindows were actually destroyed, XDestroySubwindows causes the X sever to generate exposure events on the specified window. .PN XDestroySubwindows can generate a BadWindow error.
DIAGNOSTICS
BadWindow A value for a Window argument does not name a defined Window.
SEE ALSO
XChangeWindowAttributes(3X), XConfigureWindow(3X), XCreateWindow(3X), XMapWindow(3X), XRaiseWindow(3X), XUnmapWindow(3X)
Xlib − C Language X Interface
1 March 1988