DefaultMouseCursor Class

Inheritance diagram of DefaultMouseCursor

class DefaultMouseCursor

The default mouse cursor used by the operating system.


draw(x, y) Abstract render method.


drawable Type: bool


DefaultMouseCursor.drawable = False

Inherited members


DefaultMouseCursor.draw(x, y)

Abstract render method.

The cursor should be drawn with the “hot” spot at the given coordinates. The projection is set to the pyglet default (i.e., orthographic in window-space), however no other aspects of the state can be assumed.

  • x (int) – X coordinate of the mouse pointer’s hot spot.
  • y (int) – Y coordinate of the mouse pointer’s hot spot.

Table Of Contents

Previous topic

buttons_string Function

Next topic

Display Class