Closed hmaarrfk closed 2 hours ago
There's no good way to abstract over such GUI differences. At this point it's just too specific. For the web you need to use CSS and HTML whereas for Qt you have the right method there. Just use those.
got it, that makes sense that certain things are likely too hard.
Could PyGFX just take over the look the of the cursor when you are hovering over the canvas?
I guess it would be up to my application have:
Honestly, the interaction I had setup for it was likely weak and buggy anyway.
Touch interfaces don't have cursors, so it doesn't work for that.
Thanks for helping me brainstorm!!! (and the awesome stuff!)
You have a cursor within pygfx? That's pretty cool.
You have a cursor within pygfx
not yet but i could...
I was removing some Qt-only code from our codebase and trying to replace it with wgpu/pygfx equivalents (for unifying Qt/JupyterRFB stuff) and I couldn't find a good replacement for
setCursor
https://doc.qt.io/qt-6/qwidget.html#cursor-prop
thougths? ideas? maybe i'm missing something? I tried to search for "cursor" here but couldn't find anything.