ctx.input().key_pressed(Key::A) -> ctx.input(|i| i.key_pressed(Key::A)) |
||
|---|---|---|
| .. | ||
| confirm_exit | ||
| custom_3d_glow | ||
| custom_3d_three-d | ||
| custom_font | ||
| custom_font_style | ||
| custom_window_frame | ||
| download_image | ||
| file_dialog | ||
| hello_world | ||
| hello_world_par | ||
| keyboard_events | ||
| puffin_profiler | ||
| retained_image | ||
| screenshot | ||
| serial_windows | ||
| svg | ||
| README.md | ||
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.