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.sdl2.Application.PointerMoveEvent class

Pointer move 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: typing.Optional[Pointer] get
Pointer type that was added or removed from the set of pressed pointers
pointers: Pointer get
Pointer types pressed in this event
position: Vector2 get
Position
relative_position: Vector2 get
Relative position
source: PointerEventSource get
Pointer event source