Skip to content

Cursor image control #595

@hmaarrfk

Description

@hmaarrfk

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

from qtpy.QtCore import Qt
canvas.setCursor(Qt.SizeBDiagCursor)

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions