module LTerm_mouse: sig .. end
Mouse events
type button =
| |
Button1 |
| |
Button2 |
| |
Button3 |
| |
Button4 |
| |
Button5 |
| |
Button6 |
| |
Button7 |
| |
Button8 |
| |
Button9 |
Type of mouse button.
type t = {
|
control : bool; |
|
meta : bool; |
|
shift : bool; |
|
button : button; |
|
row : int; |
|
col : int; |
}
Type of mouse click event.
val compare : t -> t -> int
Same as Pervasives.compare.
val control : t -> bool
val meta : t -> bool
val button : t -> button
val row : t -> int
val col : t -> int
val to_string : t -> string
Returns the string representation of the given mouse event.