Welcome to Python-flavored Magnum! Please note that, while already being rather stable, this functionality is still considered experimental and some APIs might get changed without preserving full backwards compatibility.

magnum.platform.glfw.Application.PointerEvent class

Pointer event

Properties

accepted: bool get set
Accepted status of the event
id: int get
Pointer ID
is_primary: bool get
Whether the pointer is primary
modifiers: Modifier get
Keyboard modifiers
pointer: Pointer get
Pointer type that was pressed or released
position: Vector2 get
Position
source: PointerEventSource get
Pointer event source