egui/examples/serial_windows
Emil Ernerfeldt 9c58f12a6c
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
2022-08-15 16:31:03 +02:00
..
src eframe: several windows in series (#1919) 2022-08-15 16:31:03 +02:00
Cargo.toml eframe: several windows in series (#1919) 2022-08-15 16:31:03 +02:00
README.md eframe: several windows in series (#1919) 2022-08-15 16:31:03 +02:00

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.

cargo run -p serial_windows