[][src]Function clipboard_x11::destroy_window_checked

pub fn destroy_window_checked(
    c: &'a Connection,
    window: u32
) -> Cookie<'a, xcb_void_cookie_t>

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.