egui/crates
Tau Gärtli 49fb163ae9
Add return value to `with_accessibility_parent` (#5083)
Extracted out of #4805

In [`egui-theme-switch`] I'm allocating a response inside the closure
passed to `with_accessibility_parent` so that my radio buttons have the
radio group as parent.

I'm working around the lack of return value with a custom extension
trait for now: [`ContextExt`]

* [x] I have followed the instructions in the PR template

[`egui-theme-switch`]:
https://github.com/bash/egui-theme-switch/blob/main/src/lib.rs
[`ContextExt`]:
https://github.com/bash/egui-theme-switch/blob/main/src/context_ext.rs
2024-09-09 10:36:56 +02:00
..
ecolor Enable rustdoc `generate-link-to-definition` feature on docs.rs (#5030) 2024-08-30 11:22:29 +02:00
eframe Conditionally propagate web events using a filter in WebOptions (#5056) 2024-09-05 08:48:13 +02:00
egui Add return value to `with_accessibility_parent` (#5083) 2024-09-09 10:36:56 +02:00
egui-wgpu Enable rustdoc `generate-link-to-definition` feature on docs.rs (#5030) 2024-08-30 11:22:29 +02:00
egui-winit Enable rustdoc `generate-link-to-definition` feature on docs.rs (#5030) 2024-08-30 11:22:29 +02:00
egui_demo_app Rename `id_source` to `id_salt` (#5025) 2024-09-02 09:29:01 +02:00
egui_demo_lib Add `egui::Sides` for adding UI on left and right sides (#5036) 2024-09-02 10:47:20 +02:00
egui_extras Add `ui.shrink_clip_rect` (#5068) 2024-09-04 17:01:41 +02:00
egui_glow Enable rustdoc `generate-link-to-definition` feature on docs.rs (#5030) 2024-08-30 11:22:29 +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 rustdoc `generate-link-to-definition` feature on docs.rs (#5030) 2024-08-30 11:22:29 +02:00
epaint Fix text sometime line-breaking or truncating too early (#5077) 2024-09-06 13:24:11 +02:00
epaint_default_fonts Enable rustdoc `generate-link-to-definition` feature on docs.rs (#5030) 2024-08-30 11:22:29 +02:00