MouseEvent
classin packageklyn.gui.terminal
public class MouseEvent extends Event:
└ Event
└ MouseEvent
Terminal mouse event decoded from SGR mouse sequences.
Properties
Modifier and Type Member Description
public readonly property button
button as Int:
No summary.
public property clickCount
clickCount as Int:
No summary.
public readonly property drag
drag as Boolean:
No summary.
public readonly property pressed
pressed as Boolean:
No summary.
public readonly property rawCode
rawCode as Int:
No summary.
public readonly property released
released as Boolean:
No summary.
public readonly property wheel
wheel as Boolean:
No summary.
public readonly property wheelDelta
wheelDelta as Int:
No summary.
public readonly property x
x as Int:
No summary.
public readonl y
y property y as Int:
No summary.
Properties inherited from Event: name, source, when
Properties inherited from Object: type
Constructors
Modifier and Type Member Description
public MouseEvent
MouseEvent(button as Int, x as Int, y as Int, suffix as String, rawCode as Int = -1):
No summary.
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml