#egui-winit #winit #egui

egui_winit_platform

Platform code to use egui with winit

25 breaking releases

0.26.0 Mar 30, 2025
0.25.0 Dec 28, 2024
0.24.0 Oct 8, 2024
0.23.0 Jul 17, 2024
0.2.0 Nov 13, 2020

#526 in GUI

Download history 242/week @ 2024-12-23 225/week @ 2024-12-30 329/week @ 2025-01-06 386/week @ 2025-01-13 371/week @ 2025-01-20 514/week @ 2025-01-27 661/week @ 2025-02-03 474/week @ 2025-02-10 301/week @ 2025-02-17 341/week @ 2025-02-24 292/week @ 2025-03-03 414/week @ 2025-03-10 442/week @ 2025-03-17 398/week @ 2025-03-24 197/week @ 2025-03-31 120/week @ 2025-04-07

1,230 downloads per month
Used in 3 crates

MIT/Apache

27KB
419 lines

A platform integration to use egui with winit.

You need to create a Platform and feed it with winit::event::Event events. Use begin_frame() and end_frame() to start drawing the egui UI. A basic usage example can be found here.


egui_winit_platform

Latest version Documentation MIT Apache

Platform code to run egui using winit.

Example

We have created a simple example project to show you, how to use this crate.

License

egui_winit_platform is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, LICENSE-MIT.

Dependencies

~7–22MB
~340K SLoC