Grx.EventType
Indicates the type of event.
- EventType.NONE
indicates there is no event
- EventType.APP_ACTIVATE
application activated event, for example, this is triggered by console switching by the linuxfb video driver or when using a graphical desktop driver such as gtk3, this is triggered when the window becomes the active window on the desktop window is the active window
- EventType.APP_DEACTIVATE
application deactivated event, for example, this is triggered by console switching by the linuxfb video driver or when using a graphical desktop driver such as gtk3, this is triggered when the window is no longer the active window on the desktop
- EventType.APP_QUIT
application request to quit event, for example, this is triggered the window is closed in a desktop application
- EventType.KEY_DOWN
key press event
- EventType.KEY_UP
key release event
- EventType.POINTER_MOTION
pointer (mouse) motion event
- EventType.BUTTON_PRESS
button press event
- EventType.BUTTON_RELEASE
button release event
- EventType.BUTTON_DOUBLE_PRESS
button double-press event
- EventType.TOUCH_DOWN
begin touch event
- EventType.TOUCH_MOTION
touch motion event
- EventType.TOUCH_UP
end touch event
- EventType.TOUCH_CANCEL
cancel touch event