pub type CloseHandler = Box<dyn Fn()>;
Runs when the user asks to close a window.
pub struct CloseHandler(/* private fields */);