#egui #winit

egui_winit_platform

Platform code to use egui with winit

19 breaking releases

0.20.0 Oct 22, 2023
0.19.0 Jun 12, 2023
0.18.0 Feb 14, 2023
0.16.0 Aug 26, 2022
0.2.0 Nov 13, 2020

#785 in GUI

Download history 811/week @ 2023-10-20 669/week @ 2023-10-27 678/week @ 2023-11-03 784/week @ 2023-11-10 817/week @ 2023-11-17 837/week @ 2023-11-24 560/week @ 2023-12-01 646/week @ 2023-12-08 610/week @ 2023-12-15 468/week @ 2023-12-22 343/week @ 2023-12-29 890/week @ 2024-01-05 629/week @ 2024-01-12 614/week @ 2024-01-19 622/week @ 2024-01-26 669/week @ 2024-02-02

2,672 downloads per month
Used in 4 crates

MIT/Apache

27KB
463 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

~6–20MB
~240K SLoC