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

feature request for mouse drag #332

Open
bhomass opened this issue Apr 21, 2023 · 2 comments
Open

feature request for mouse drag #332

bhomass opened this issue Apr 21, 2023 · 2 comments

Comments

@bhomass
Copy link

bhomass commented Apr 21, 2023

to implement drag and drop.

@martinRenou
Copy link
Collaborator

martinRenou commented Apr 21, 2023

You can implement drag and drop using the click and move events of the mouse. See this notebook for an example of drag and drop implementation https://github.com/martinRenou/ipycanvas/blob/master/examples/drag_and_drop_example.ipynb.

@bhomass
Copy link
Author

bhomass commented Apr 22, 2023

thanks, but I also need to handle mouse down. It would be better if that was a separate handle_mouse_drag event handler.

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

No branches or pull requests

2 participants