Visitar URL original
ToolHandles/ToolLineHandles could set the mouse cursor when hovered over or active · Issue #20724 · matplotlib/matplotlib · GitHub
The Wayback Machine - https://web.archive.org/web/20210817063726/https://github.com/matplotlib/matplotlib/issues/20724
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

ToolHandles/ToolLineHandles could set the mouse cursor when hovered over or active #20724

Open
anntzer opened this issue Jul 23, 2021 · 2 comments
Open

Comments

@anntzer
Copy link
Contributor

@anntzer anntzer commented Jul 23, 2021

Problem

widgets.ToolHandles and ToolLineHandles could set the mouse cursor e.g. to a hand when the mouse cursor is over them or currently grabbing one of them (one could even distinguish open and closed hands, but that can also be a second step).

Proposed Solution

Per the above.

Additional context and prior art

(may be worth waiting for #20620 to go in first)

@QuLogic
Copy link
Member

@QuLogic QuLogic commented Jul 24, 2021

That was the point of #20620 😉

@QuLogic QuLogic self-assigned this Jul 24, 2021
@QuLogic
Copy link
Member

@QuLogic QuLogic commented Jul 27, 2021

So I committed this earlier, but as you say it should maybe be on ToolLineHandles. What's missing there is grab_range, and I wonder if we should move that value over to the handles? I'll open a PR with that to discuss first.

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

Successfully merging a pull request may close this issue.

None yet
2 participants