Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seperate egui::Event::Paste from egui::Event::Text #1057

Closed
psiphi75 opened this issue Jan 9, 2022 · 0 comments · Fixed by #1058
Closed

Seperate egui::Event::Paste from egui::Event::Text #1057

psiphi75 opened this issue Jan 9, 2022 · 0 comments · Fixed by #1058
Labels
feature New feature or request

Comments

@psiphi75
Copy link
Contributor

psiphi75 commented Jan 9, 2022

Currently egui uses egui::Event::Text for pasting. However, it would be good to have a specific paste functionality. This allows us to detect if a paste occurred from the OS.

Describe the solution you'd like
Add an egui::Event::Paste(text) event item.

Additional context
It would be good for this to work even outside of a text box.

@psiphi75 psiphi75 added the feature New feature or request label Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant