jupyter-widgets-contrib / ipycanvas

Interactive Canvas in Jupyter
https://ipycanvas.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
688 stars 64 forks source link

Detecting which mouse button is pressed #296

Open shumash opened 2 years ago

shumash commented 2 years ago

Hi, thank you for a great library! I am having lots of fun with it.

Do you have any suggestions for a way to detect which mouse button is being pressed for the mouse events? I would like to handle events differently for different mouse buttons.