#egui-winit #winit #egui

egui_winit_platform

Platform code to use egui with winit

25 breaking releases

new 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

#680 in GUI

Download history 461/week @ 2024-12-07 384/week @ 2024-12-14 132/week @ 2024-12-21 292/week @ 2024-12-28 254/week @ 2025-01-04 468/week @ 2025-01-11 359/week @ 2025-01-18 272/week @ 2025-01-25 808/week @ 2025-02-01 477/week @ 2025-02-08 393/week @ 2025-02-15 339/week @ 2025-02-22 329/week @ 2025-03-01 336/week @ 2025-03-08 485/week @ 2025-03-15 249/week @ 2025-03-22

1,453 downloads per month
Used in 3 crates

MIT/Apache

27KB
419 lines

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.


lib.rs:

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.

Dependencies

~7–26MB
~345K SLoC