pub fn window_event( event: WindowEvent, scale_factor: f64, modifiers: ModifiersState, ) -> Option<Event>
Converts a winit window event into an iced event.