egui/examples/serial_windows
Emil Ernerfeldt 82704bebbf
Update MSRV to Rust 1.70.0 (#3310)
* Update to Rust 1.70

* Fix renamed clippy lint

* Use let-else more

* Code cleanup

* Remove derelict Safety comments

* Enable more clippy lints
2023-09-06 07:59:24 +02:00
..
src use env_logger in all examples (#2934) 2023-04-19 16:35:38 +02:00
Cargo.toml Update MSRV to Rust 1.70.0 (#3310) 2023-09-06 07:59:24 +02:00
README.md Update serial window example (#2756) 2023-03-29 15:55:45 +02:00
screenshot.png Update example screenshots 2023-05-23 13:38:02 +02:00

README.md

Demonstrates how to open several windows after each other.

Expected order of execution:

  • When the example runs a first window will be shown.
  • Once the first window is closed after a delay a second window will be shown.
  • Similarly, when the second window is closed after a delay a third will be shown.
  • Once the third is closed the program will stop.

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