1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05:40:03 -04:00

eframe: several windows in series (#1919)

* Add example of opening several eframe windows in series

* Reuse the same winit event loop

* Ignore events to the wrong window

* Run run_return again
This commit is contained in:
Emil Ernerfeldt
2022-08-15 16:31:03 +02:00
committed by GitHub
parent 48e7f219a3
commit 9c58f12a6c
6 changed files with 124 additions and 22 deletions

View File

@@ -0,0 +1,8 @@
Demonstrates how to open several windows after each other.
NOTE: this doesn't work on Mac due to <https://github.com/rust-windowing/winit/issues/2431>.
See also <https://github.com/emilk/egui/issues/1918>.
```sh
cargo run -p serial_windows
```