Skip to main content

WindowCloseHandler

Type Alias WindowCloseHandler 

Source
pub type WindowCloseHandler = Rc<dyn Fn(WindowId)>;
Expand description

Decides what happens when the user asks to close a window.

Aliased Typeยง

pub struct WindowCloseHandler { /* private fields */ }