MouseButton class abstract final

Mouse button codes (X11-style).

Upstream: github.com/charmbracelet/x/ansi (MouseButton) + mouse.go.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

toName(int button) String
Returns a human-readable name for a mouse button code.

Constants

backward → const int
button10 → const int
button11 → const int
forward → const int
left → const int
middle → const int
none → const int
wheelDown → const int
wheelLeft → const int
wheelRight → const int
wheelUp → const int