Scene Mouse Events
MouseEvent
MouseEvent(engine: Engine)
Bases: SceneEvent, CancellableEvent
Base mouse event implementation.
cancel
cancel() -> None
Cancel this event from being further handled.
MouseMoveEvent
MouseMoveEvent(engine: Engine)
Bases: MouseEvent
Dispatched when the scene recognizes that the mouse has moved.
cancel
cancel() -> None
Cancel this event from being further handled.
MousePressedEvent
MousePressedEvent(engine: Engine)
Bases: MouseEvent
Dispatched when the scene recognizes that a button on the mouse has been pressed.
cancel
cancel() -> None
Cancel this event from being further handled.
MouseReleasedEvent
MouseReleasedEvent(engine: Engine)
Bases: MouseEvent
Dispatched when the scene recognizes that a button on the mouse has been released.
cancel
cancel() -> None
Cancel this event from being further handled.
MouseWheelScrollEvent
MouseWheelScrollEvent(engine: Engine)
Bases: MouseEvent
Dispatched when the scene recognizes that the scroll wheel on the mouse has moved.
amount
property
amount: int
The amount the scroll wheel has moved - Positive if up, negative if down.
cancel
cancel() -> None
Cancel this event from being further handled.