Function xcb::xproto::destroy_window[][src]

pub fn destroy_window<'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: