egui/examples/serial_windows
Emil Ernerfeldt 8f2c8664e7
Emilk/revert workspace deps (#3942)
* Closes https://github.com/emilk/egui/issues/3941

Workspace dependencies can be annoying.

If you don't set them to `default-features=false`, then you cannot opt
out of their default features anywhere else, and get warnings if you
try.

So you set `default-features=false`, and then you need to manually opt
in to the default features everywhere else.
Or, as in my case, don't.

I don't have the energy to do this tonight, so I'll just revert.
2024-02-01 21:29:48 +01:00
..
src Fix up some examples (#3614) 2023-11-23 12:58:44 +01:00
Cargo.toml Emilk/revert workspace deps (#3942) 2024-02-01 21:29:48 +01: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