[][src]Module glutin::event_loop

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 send_event method.

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

Structs

EventLoop

Provides a way to retrieve events from the system and from the windows that were registered to the events loop.

EventLoopClosed

The error that is returned when an EventLoopProxy attempts to wake up an EventLoop that no longer exists. Contains the original event given to send_event.

EventLoopProxy

Used to send custom events to EventLoop.

EventLoopWindowTarget

Target that associates windows with an EventLoop.

Enums

ControlFlow

Set by the user callback given to the EventLoop::run method.