fidget
fidget copied to clipboard
[Add Drag and Drop] Question: How do I do drag and drop?
Hi! I'm loving the idea, thanks a lot!
I'd really like to use Fidget for a small app, but this uploads files, so I need a way to drag and drop files to be uploaded.
I assume I can do the actual uploading with httpPost call, but I can't see a way to do a drag and drop to the app window.
Is that at all possible now?
I don't have a drag and drop API at the moment. Are you making native, js, wasm app?
I would probably need to implement these APIs:
JS: https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API/File_drag_and_drop
Native: https://www.glfw.org/docs/latest/input.html#path_drop
WASM? Probably not possible.