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

[feat] file-drop payload in rust #3664

Closed
FabianLars opened this issue Mar 10, 2022 · 0 comments
Closed

[feat] file-drop payload in rust #3664

FabianLars opened this issue Mar 10, 2022 · 0 comments

Comments

@FabianLars
Copy link
Member

Describe the problem

Currently you can only listen to file-drop events via the listen api which provides only a serialized string payload which is obviously not optimal.

Describe the solution you'd like

Since i don't see a way to extend listen in a way that would allow non-serialized/string payloads my first idea was to extend on_window_event for this, but idk if that's possible since it's basically a proxy for wry events.

Alternatives considered

No response

Additional context

Can't believe it took me months and multiple reminders to create this issue...

lucasfernog added a commit that referenced this issue Mar 15, 2022
* feat(core): add `WindowEvent::FileDrop`, closes #3664

* refactor(core): use the event loop proxy to send updater events

* simplify generics with user event trait

* fix tray impl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant