mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 07:03:14 -04:00
The closure passed to `eframe::run_native` now returns a `Result`, allowing you to return an error during app creation, which will be returned to the caller of `run_native`. This means you need to wrap your `Box::new(MyApp::new(…))` in an `Ok(…)`. * Closes https://github.com/emilk/egui/issues/4474
This is a test of the viewports feature of eframe and egui, where we show off using multiple windows.
For a simple example, see multiple_viewports.