Summary

Information about a <see cref="T:Editor.Widget" />s mouse event.

Properties

Accepted Whether this event should be propagated to parent widgets (<see langword="false" />) or not (<see langword="true" />).
Button The mouse button that triggered the event.
ButtonState The current mouse button state.
HasAlt Whether <c>Alt</c> key was being held down at the time of the event.
HasCtrl Whether <c>Control</c> key was being held down at the time of the event.
HasShift Whether <c>Shift</c> key was being held down at the time of the event.
IsDoubleClick Whether this mouse event was a double click.
KeyboardModifiers The keyboard modifier keys that were held down at the moment the event triggered.
LeftMouseButton Whether the event was triggered by the left mouse button.
LocalPosition Position of the mouse cursor relative to the widgets top left corner.
MiddleMouseButton Whether the event was triggered by the left mouse button.
RightMouseButton Whether the event was triggered by the left mouse button.
ScreenPosition Absolute position of the mouse cursor on the screen.
WindowPosition Position of the mouse cursor relative to the top left corner of the window the widget belongs to.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.