You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Emil Ernerfeldt 4b1523ad51
eframe glow backend: Clear render target before calling `App::update` (#3665)
11 months ago
..
confirm_exit Fix up some examples (#3614) 12 months ago
custom_3d_glow eframe glow backend: Clear render target before calling `App::update` (#3665) 11 months ago
custom_font Update MSRV to Rust 1.72 (#3595) 12 months ago
custom_font_style Update MSRV to Rust 1.72 (#3595) 12 months ago
custom_window_frame macOS `ViewportBuilder` tweaks (#3613) 12 months ago
file_dialog Fix up some examples (#3614) 12 months ago
hello_world Update MSRV to Rust 1.72 (#3595) 12 months ago
hello_world_par Update MSRV to Rust 1.72 (#3595) 12 months ago
hello_world_simple Update MSRV to Rust 1.72 (#3595) 12 months ago
images Fix up some examples (#3614) 12 months ago
keyboard_events Update MSRV to Rust 1.72 (#3595) 12 months ago
multiple_viewports Update MSRV to Rust 1.72 (#3595) 12 months ago
puffin_profiler Fix buggy text withviewports on monitors with different scales (#3666) 11 months ago
save_plot Update MSRV to Rust 1.72 (#3595) 12 months ago
screenshot Update MSRV to Rust 1.72 (#3595) 12 months ago
serial_windows Fix up some examples (#3614) 12 months ago
test_inline_glow_paint eframe glow backend: Clear render target before calling `App::update` (#3665) 11 months ago
test_viewports Improve multi-viewports across monitors with different scales (#3663) 11 months ago
user_attention Update MSRV to Rust 1.72 (#3595) 12 months ago
README.md examples/README.md: explain that the examples are for master 2 years ago
run_all.sh Fix up some examples (#3614) 12 months ago

README.md

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.

Note that all the examples on master are for the latest master version of egui.

If you want to look for examples for a specific version of egui, go to that tag, e.g. https://github.com/emilk/egui/tree/latest/examples.