egui/crates
Zeenobit e4f209ec50
Expose state override for `HeaderResponse` (#4200)
I'm trying to create some custom collapsing headers that add additional
buttons inside the header itself. Because of this, I load the
`CollapsingState` in my special widget manually. But because
`HeaderResponse` owns the `Ui` and the `CollapsingState`, there is no
way for me to open/close the collapsing header based on response of the
inner widget.

Initially, I considered just exposing `state` member of
`HeaderResponse`, but that exposes too much of the API at the wrong
time, in my opinion.

So instead I found it'd be safer to just expose the open/close API to
the response itself, and that's what this PR does.
2024-03-21 12:13:32 +01:00
..
ecolor Release 0.26.2 - Response.interact/context_menu fix 2024-02-14 10:49:57 +01:00
eframe `Location::query_map`: support repeated key (#4183) 2024-03-17 17:50:33 +01:00
egui Expose state override for `HeaderResponse` (#4200) 2024-03-21 12:13:32 +01:00
egui-wgpu Release 0.26.2 - Response.interact/context_menu fix 2024-02-14 10:49:57 +01:00
egui-winit Add x11 window type settings to viewport builder (#4175) 2024-03-21 12:07:20 +01:00
egui_demo_app Add API for raw mouse motion (#4063) 2024-02-20 18:00:39 +01:00
egui_demo_lib On touch screens, press-and-hold equals a secondary click (#4195) 2024-03-20 11:49:17 +01:00
egui_extras Added ability to disable highlighting of weekend days in DatePickerPopup. (#4151) 2024-03-21 11:09:19 +01:00
egui_glow Release 0.26.2 - Response.interact/context_menu fix 2024-02-14 10:49:57 +01:00
egui_plot egui_plot: fix panic when the base step size is set to 0 (#4078) 2024-02-20 16:26:47 +01:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath typos : intersects_ray() (#4201) 2024-03-21 12:10:02 +01:00
epaint `epaint`: Add `EllipseShape` (#4122) 2024-03-20 13:23:21 +01:00