Skip to main content

Module mouse

Module mouse 

Source
Expand description

Mouse event types — dedicated structs per event kind.

Like Chrome’s WebMouseEvent — each mouse event is a standalone struct carrying all the context needed for dispatch (position, button, modifiers, timestamp).

Chrome equivalent files:

  • third_party/blink/public/common/input/web_mouse_event.h
  • ui/events/event.h (ui::MouseEvent)

Structs§

MouseButtonEvent
Mouse button pressed or released.
MouseEnterEvent
Mouse cursor entered the view area.
MouseLeaveEvent
Mouse cursor left the view area.
MouseMoveEvent
Mouse cursor moved within the view.

Enums§

ButtonState
Button press/release state.
MouseButton
Mouse button identifier.