mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
This ensures the closed viewport gets a close-event, and that it and the parent viewport gets repainting, allowing the event to be registered.
Example how to show multiple viewports (native windows) can be created in egui when using the eframe backend.
cargo run -p multiple_viewports
For a more advanced example, see [../test_viewports].