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.
 
 
 
 
Nicolas 0f2b427ff4
Allow easier setting of background color for TextEdit (#5203)
1 month ago
..
confirm_exit `eframe::Result` is now short for `eframe::Result<()>` (#4706) 4 months ago
custom_3d_glow `eframe::Result` is now short for `eframe::Result<()>` (#4706) 4 months ago
custom_font Move default fonts to new crate `epaint_default_fonts` (#4853) 3 months ago
custom_font_style Make Light & Dark Visuals Customizable When Following The System Theme (#4744) 2 months ago
custom_keypad Make Light & Dark Visuals Customizable When Following The System Theme (#4744) 2 months ago
custom_style Add a `cargo machete` CI step (#5171) 1 month ago
custom_window_frame Make Light & Dark Visuals Customizable When Following The System Theme (#4744) 2 months ago
file_dialog Remove wildcard imports (#5018) 2 months ago
hello_world `eframe::Result` is now short for `eframe::Result<()>` (#4706) 4 months ago
hello_world_par Add a `cargo machete` CI step (#5171) 1 month ago
hello_world_simple Allow easier setting of background color for TextEdit (#5203) 1 month ago
images Add a `cargo machete` CI step (#5171) 1 month ago
keyboard_events Remove wildcard imports (#5018) 2 months ago
multiple_viewports `eframe::Result` is now short for `eframe::Result<()>` (#4706) 4 months ago
popups Remove wildcard imports (#5018) 2 months ago
puffin_profiler Use `log` crate instead of `eprintln` & remove some unwraps (#5010) 2 months ago
screenshot Make Light & Dark Visuals Customizable When Following The System Theme (#4744) 2 months ago
serial_windows Use `log` crate instead of `eprintln` & remove some unwraps (#5010) 2 months ago
user_attention `eframe::Result` is now short for `eframe::Result<()>` (#4706) 4 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.