cosmic::iced_winit::winit

Module event_loop

source
Expand description

The EventLoop struct and assorted supporting types, including ControlFlow.

If you want to send custom events to the event loop, use EventLoop::create_proxy to acquire an EventLoopProxy and call its wake_up method. Then during handling the wake up you can poll your event sources.

See the root-level documentation for information on how to create and use an event loop to handle events.

Structs§

Enums§

Traits§