Skip to content

Deprecate Memory::popup API in favor of new Popup API#7317

Merged
emilk merged 10 commits intomainfrom
emilk/deprecate-popup-api
Jul 9, 2025
Merged

Deprecate Memory::popup API in favor of new Popup API#7317
emilk merged 10 commits intomainfrom
emilk/deprecate-popup-api

Conversation

@emilk
Copy link
Owner

@emilk emilk commented Jul 9, 2025

This deprecates all popup-related function in Memory, replacing them with the new egui::Popup.

The new API is nicer in all ways, so we should encourage people to use it.

@emilk emilk added the egui label Jul 9, 2025
@emilk emilk marked this pull request as ready for review July 9, 2025 10:13
@github-actions
Copy link

github-actions bot commented Jul 9, 2025

Preview available at https://egui-pr-preview.github.io/pr/7317-emilkdeprecate-popup-api
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

@emilk emilk added this to the egui 0.32.0 milestone Jul 9, 2025
Copy link
Collaborator

@lucasmerlin lucasmerlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@emilk emilk merged commit a7f14ca into main Jul 9, 2025
47 checks passed
@emilk emilk deleted the emilk/deprecate-popup-api branch July 9, 2025 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make Memory::keep_popup_open less of a footgun

2 participants