MouseReceivedEvent
class in package klyn.gui.terminal

    public class MouseReceivedEvent extends Event:

Event
└ GuiEvent
└ Event
└ MouseReceivedEvent

Terminal mouse event wrapper emitted by `Terminal.mouseReceived`.

    terminal.mouseReceived += lambda(e: MouseReceivedEvent): print(e.mouse.x)

Properties

Modifier and Type | Member | Description
--- | --- | ---
public readonly property | mouse `mouse as MouseEvent` | Decoded terminal mouse payload.

Inherited Properties
property Inherited Properties from Event: name, when
property Inherited Properties from Event: source, timestamp
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | MouseReceivedEvent `MouseReceivedEvent(mouse as MouseEvent, source as Object = null):` | Creates a terminal mouse wrapper event.