egui/examples
Emil Ernerfeldt cb77458f70
eframe error handling (#2433)
* eframe::run_native: return errors instead of crashing

* Detect and handle glutin errors

* egui_demo_app: silence wgpu log spam

* Add trace logs for why eframe is shutting down

* Fix: only save App state once on Mac

* Handle Winit failure

* Log where we load app state from

* Don't panic on zero-sized window

* Clamp loaded window size to not be too tiny to see

* Simplify code: more shared code in window_builder

* Improve code readability

* Fix wasm32 build

* fix android

* Update changelog
2022-12-12 15:16:32 +01:00
..
confirm_exit eframe error handling (#2433) 2022-12-12 15:16:32 +01:00
custom_3d_glow eframe error handling (#2433) 2022-12-12 15:16:32 +01:00
custom_3d_three-d eframe error handling (#2433) 2022-12-12 15:16:32 +01:00
custom_font eframe error handling (#2433) 2022-12-12 15:16:32 +01:00
custom_font_style eframe error handling (#2433) 2022-12-12 15:16:32 +01:00
custom_window_frame eframe error handling (#2433) 2022-12-12 15:16:32 +01:00
download_image eframe error handling (#2433) 2022-12-12 15:16:32 +01:00
file_dialog eframe error handling (#2433) 2022-12-12 15:16:32 +01:00
hello_world eframe error handling (#2433) 2022-12-12 15:16:32 +01:00
keyboard_events eframe error handling (#2433) 2022-12-12 15:16:32 +01:00
puffin_profiler eframe error handling (#2433) 2022-12-12 15:16:32 +01:00
retained_image eframe error handling (#2433) 2022-12-12 15:16:32 +01:00
screenshot eframe error handling (#2433) 2022-12-12 15:16:32 +01:00
serial_windows eframe error handling (#2433) 2022-12-12 15:16:32 +01:00
svg eframe error handling (#2433) 2022-12-12 15:16:32 +01:00
README.md Fix broken GitHub source links due to #1940 2022-08-20 15:18:02 +02:00

egui and eframe examples

All the examples in this folder uses eframe to set up a window for egui. Some examples are specific to eframe, but many are applicable to any egui integration.

There are a lot more examples at https://www.egui.rs, and it has links to the source code of each example.

Also check out the official docs at https://docs.rs/egui and https://docs.rs/eframe.