Style.cursor

Returns the cursor that should be used over this widget. You may change this and updates will be reflected next time the mouse enters the widget.

You can return a member of GenericCursor or your own MouseCursor instance.

class Style
MouseCursor
cursor
()

Meta

History

Was previously a method directly on Widget, moved to Widget.Style on May 12, 2021