Crate egui_winit

source ·
Expand description

egui bindings for winit.

The library translates winit events to egui, handled copy/paste, updates the cursor, open links clicked in egui, etc.

Feature flags

Re-exports

pub use egui;
pub use winit;

Modules

Macros

Profiling macro for feature “puffin”
Profiling macro for feature “puffin”

Structs

Handles the integration between egui and winit.
Can be used to store native window settings (position and size).

Functions

Winit sends special keys (backspace, delete, F1, …) as characters. Ignore those. We also ignore ‘\r’, ‘\n’, ‘\t’. Newlines are handled by the Key::Enter event.