Ev.MouseMouse events.
The type for MouseEvent objects.
related_target e is the target the pointer is entering (if any).
val offset_x : t -> floatoffset_x m is the horizontal coordinate in target space.
val offset_y : t -> floatoffset_y m is the vertical coordinate in target space.
val client_x : t -> floatclient_x m is the horizontal coordinate in window viewport space.
val client_y : t -> floatclient_y m is the vertical coordinate in window viewport space.
val page_x : t -> floatpage_x m is the horizontal coordinate in document space.
val page_y : t -> floatpage_y m is the vertical coordinate in document space.
val screen_x : t -> floatscreen_x m is the horizontal coordinate in screen space.
val screen_y : t -> floatscreen_y m is the vertical coordinate in screen space.
val movement_x : t -> floatmovement_x m is the horizontal coordinate movement in screen space. This is screen_x minus the previous event's one.
val movement_y : t -> floatmovement_x m is the vertical coordinate movement in screen space. This is screen_y minus the previous event's one.
val alt_key : t -> boolalt_key m is true if Alt modifier is active.
val ctrl_key : t -> boolctrl_key m is true if Control modifier is active.
val shift_key : t -> boolshift_key m is true if Shift modifier is active.
val meta_key : t -> boolmeta_key m is true if Meta modifier is active.