1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00
Files
egui/examples/serial_windows
Emil Ernerfeldt cee790681d Update to Rust 1.76 (#4411)
Motivation: I want to replace `cargo-cranky` with workspace lints, first
available in Rust 1.74.
However, `cargo doc` would hange on `wgpu` and `wgpu-core` on 1.74 and
1.75… so now we're on 1.76.
I think this is fine - when 1.78 is released next week we're still two
versions behind the bleeding edge.

…and the branch name is just wrong 🤦
2024-04-25 15:51:01 +02:00
..
2023-11-23 12:58:44 +01:00
2024-04-25 15:51:01 +02:00
2023-03-29 15:55:45 +02:00
2023-05-23 13:38:02 +02:00

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