egui/crates
Will Brown c075053391
Add external eventloop support (#6750)
<!--
Please read the "Making a PR" section of
[`CONTRIBUTING.md`](https://github.com/emilk/egui/blob/master/CONTRIBUTING.md)
before opening a Pull Request!

* Keep your PR:s small and focused.
* The PR title is what ends up in the changelog, so make it descriptive!
* If applicable, add a screenshot or gif.
* If it is a non-trivial addition, consider adding a demo for it to
`egui_demo_lib`, or a new example.
* Do NOT open PR:s from your `master` branch, as that makes it hard for
maintainers to test and add commits to your PR.
* Remember to run `cargo fmt` and `cargo clippy`.
* Open the PR as a draft until you have self-reviewed it and run
`./scripts/check.sh`.
* When you have addressed a PR comment, mark it as resolved.

Please be patient! I will review your PR, but my time is limited!
-->

* Closes #2875
* Closes https://github.com/emilk/egui/pull/3340
* [x] I have followed the instructions in the PR template

Adds `create_native`. Similiar to `run_native` but it returns an
`EframeWinitApplication` which is a `winit::ApplicationHandler`. This
can be run on your own event loop. A helper fn `pump_eframe_app` is
provided to pump the event loop and get the control flow state back.

I have been using this approach for a few months.

---------

Co-authored-by: Will Brown <opensource@rebeagle.com>
2025-04-29 12:09:23 +02:00
..
ecolor Enable more clippy lints (#6853) 2025-04-24 17:32:50 +02:00
eframe Add external eventloop support (#6750) 2025-04-29 12:09:23 +02:00
egui feat: Add `Scene::sense` option for customising how `Scene` should respond to user input (#5893) 2025-04-29 12:07:39 +02:00
egui-wgpu Enable more clippy lints (#6853) 2025-04-24 17:32:50 +02:00
egui-winit Add macOS-specific `has_shadow` and `with_has_shadow` to ViewportBuilder (#6850) 2025-04-29 12:02:42 +02:00
egui_demo_app Enable more clippy lints (#6853) 2025-04-24 17:32:50 +02:00
egui_demo_lib Add button benchmark (#6854) 2025-04-28 11:58:05 +02:00
egui_extras `ScrollArea` improvements for user configurability (#5443) 2025-04-25 11:01:22 +02:00
egui_glow Enable more clippy lints (#6853) 2025-04-24 17:32:50 +02:00
egui_kittest Enable more clippy lints (#6853) 2025-04-24 17:32:50 +02:00
egui_plot Move `egui_plot` to its own repo (#4828) 2024-07-15 18:45:19 +02:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Enable more clippy lints (#6853) 2025-04-24 17:32:50 +02:00
epaint Enable more clippy lints (#6853) 2025-04-24 17:32:50 +02:00
epaint_default_fonts Release 0.31.1 - text_edit and kittest fixes 2025-03-05 08:37:34 +01:00