MouseEvent
Mouse event.
| Header | #include "nativeui/events/event.h" |
| Namespace | namespace nu |
| Type | struct |
| Inherits | Event |
Properties
int button
The mouse button being pressed, 1 is for left button, 2 is for right
button, 3 is for middle button.
PointF position_in_view
Relative position inside the view where the event happened.
PointF position_in_window
Relative position inside the window.