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: on-drop-files event handler on Windows #2838
base: master
Are you sure you want to change the base?
Conversation
This would be a really nice feature on Windows. PR needs an update, because of other new events, but the main question is whether @dockimbel wants to include it, as it's Windows-only. I think it's valuable enough to include. |
It would also be nice to have |
In the grand scheme, we need to think about the DnD system, where |
If we can find someone to champion this on MacOS, we can eliminate the platform specific issue. |
@qtxie @dockimbel, this has conflicts now, but I'd like to see it resolved one way or another. |
If we don't want to do it this way, but full I/O brings us something like R2's |
1ec06cd
to
7218fb4
Compare
Since we don't run on MacOS right now, let's get this in place. :^) @qtxie @dockimbel ? |
With this modification it is possible on Windows drag files from OS and drop them into Red opened windows. Result is an event with block of file names.
See
tests\view-drop-files.red
file for basic usage example.So far it is only for Windows... other systems will just ignore this event so nothing will be fired there.