1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 07:03:14 -04:00
Files
egui/examples/images
Emil Ernerfeldt 942fe4ab31 Support returning errors when creating the app (#4565)
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
2024-05-28 21:59:19 +02:00
..
2024-05-13 13:35:15 +02:00
2023-09-12 10:39:17 +02:00
2024-02-05 13:01:10 +01:00

Example showing how to show images with eframe/egui.

cargo run -p images