NAME
xcbdestroywindow - Destroys a window SYNOPSIS
#include
Request function xcbvoidcookiet xcbdestroywindow(xcbconnectiont *conn, xcbwindowt window); REQUEST ARGUMENTS conn The XCB connection to X11. window The window to destroy. DESCRIPTION Destroys the specified window and all of its subwindows. A DestroyNoti‐ fy event is generated for each destroyed window (a DestroyNotify event is first generated for any given window's inferiors). If the window was mapped, it will be automatically unmapped before destroying. Calling DestroyWindow on the root window will do nothing. RETURN VALUE Returns an xcbvoidcookiet. Errors (if any) have to be handled in the event loop. If you want to handle errors directly with xcbrequestcheck instead, use xcbdestroywindowchecked. See xcb-requests(3) for details. ERRORS xcbwindowerrort The specified window does not exist. SEE ALSO
xcb-requests(3), xcbdestroynotifyeventt(3), xcbmapwindow(3), xcbunmapwindow(3) AUTHOR Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐ rections and improvements. X Version 11 libxcb 1.13 xcbdestroywindow(3)