pub type EventHandler = dyn Fn(&DesktopEvent) -> EventResponse + Send + Sync + 'static;Expand description
UI-thread lifecycle callback. Handlers must not block the UI thread.
pub type EventHandler = dyn Fn(&DesktopEvent) -> EventResponse + Send + Sync + 'static;UI-thread lifecycle callback. Handlers must not block the UI thread.