pub fn destroy_window(winname: &str) -> Result<()>
Destroys the specified window.
The function destroyWindow destroys the window with the given name.