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

Getting Mouse events and closest-to-cursor 1D curves #68

Open
kociak opened this issue Jul 2, 2023 · 0 comments
Open

Getting Mouse events and closest-to-cursor 1D curves #68

kociak opened this issue Jul 2, 2023 · 0 comments

Comments

@kociak
Copy link

kociak commented Jul 2, 2023

I am looking for the user to be able to select a curve (1D curve in a 1D display panel) with a click on it. I don't think this is implemented.
Trying to go one step lower, I tried to find a way to retrieve mouse events. The little I saw in the code was too confusing for me (like the MouseTrackingCanvasItem), but maybe I just need a minimal example for that.
As a general comment, it would be very nice to have a mouse_moved_event, mouse_clicked_event, mouse_released_event etc ... with modifiers, as can be found in other GUIs APIs, and even better would be to have it with a way to choose the coordinates (like, screen pixels, curve calibrated ...)

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

1 participant