-
-
Notifications
You must be signed in to change notification settings - Fork 598
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
Get drop information out from windowview #3378
base: main
Are you sure you want to change the base?
Conversation
Got it working!!! 2024-07-22_23-18-15.mp4There are two problems still tho that I would love to get some help with.
I'll post the data tomorrow as it's quite late here 😄 |
Added all files to make the drag and drop working and included a _example.py in the root dir for you to try it out. Drop zone does still not work with |
Thanks for the pull request, @EmberLightVFX! |
No worries! I know you're busy with other stuff :) I haven't had much time myself to look into the problems but when I get some time I'll do my best. Any community help is highly appreciated tho! |
This is my WIP PR for issue #3372
Right now all it does is allow you to drag and drop files into the webview and it will print out the path to the file from the main thread.
The issue I'm still having is how to access the running nicegui instance on the main thread as currently the check for droped files happens in a separate thread that's running from the main thread (not multiprocessing).
Are there any other way for me to check the drop_queue from within the main thread and from there create an event that could be picked up like
ui.on("drop", my_func)
?