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

Add RenderCanvas.set_cursor() #27

Open
kushalkolar opened this issue Oct 18, 2024 · 1 comment
Open

Add RenderCanvas.set_cursor() #27

kushalkolar opened this issue Oct 18, 2024 · 1 comment

Comments

@kushalkolar
Copy link
Contributor

followup from pygfx/wgpu-py#595

I was just looking into how to set or hide the cursor on all the GUI backends, I can do this after the big pygfx/wgpu-py#618 🚀

my idea is just to have a settable property: canvas.cursor = "name", we make a lookup table that maps "name" to the corresponding cursor for that GUI backend.

@hmaarrfk
Copy link
Contributor

Other aspects that m8ght be interesting is setting the cursor position in xy

@almarklein almarklein transferred this issue from pygfx/wgpu-py Nov 22, 2024
@almarklein almarklein changed the title Set cursor on WgpuCanvas RenderCanvas.set_cursor() Nov 22, 2024
@almarklein almarklein changed the title RenderCanvas.set_cursor() Add RenderCanvas.set_cursor() Nov 22, 2024
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