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.MouseMoveEvent class

Mouse move event

Contents

Enums

class Buttons: LEFT = 1 MIDDLE = 4 RIGHT = 2
Set of mouse buttons
class Modifier: SHIFT = 1 CTRL = 2 ALT = 4 SUPER = 8
Modifier

Properties

accepted: bool get set
Accepted status of the event
buttons: Buttons get
Mouse buttons
modifiers: InputEvent.Modifier get
Modifiers
position: Vector2i get
Position
relative_position: Vector2i get
Relative position