Function xcb::xproto::destroy_window_checked [−][src]
pub fn destroy_window_checked<'a>(
c: &'a Connection,
window: Window
) -> VoidCookie<'a>
Destroys a window
Destroys the specified window and all of its subwindows. A DestroyNotify 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.
parameters:
-
c: The connection object to the server
-
window: The window to destroy.