mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
This enables functions that return `impl Widget`, so that you can create a widget by just returning a lambda from a function. For instance: `ui.add(toggle(bool))` (instead of `toggle(ui, bool)`)
egui demo library
this crate contains example code for egui.
it is in a separate crate for two reasons:
- to ensure it only uses the public
eguiapi. - to remove the amount of code in
eguiproper.