Static Properties

CursorDelta The cursor delta between this and previous frame.
CursorPosition Get/Set cursor position.
DpiScale
FocusWidget The Editor.Widget that has the keyboard input focus, or <c>null</c>if no widget in this application has the focus.
HoveredWidget The Widget that is currently hovered
KeyboardModifiers Returns which keyboard modified keys are held down right at this point.
MouseButtons Returns the current state of the mouse buttons.
MouseWheelDelta The mouse wheel delta between this and previous frame
OnWidgetClicked Called when any widget is clicked. Can set MouseEvent.Accepted to true to prevent the Widget's OnMouseClick from firing.
UnscaledCursorPosition The cursor position, not scaled for DPI

Static Methods

IsKeyDown
KeyCodeToString
SetStyles
Spin Will process all of the UI events - allowing the UI to stay responsive during a blocking call.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.