Expand description
The raw UI events a Yog screen’s register_ui handler receives, parsed
once into UiEvent.
| String | Event |
|---|---|
click:X:Y | UiEvent::Click |
drag:X:Y | UiEvent::Drag |
release:X:Y | UiEvent::Release |
move:X:Y | UiEvent::Move (the cursor moved; newer hosts) |
scroll:DY | UiEvent::Scroll (positive = up) |
key:KEY:MODS | UiEvent::Key (GLFW key code and modifier bits) |
char:CODEPOINT | UiEvent::Char |
open:W:H | UiEvent::Open (the screen was opened; newer hosts) |
close | UiEvent::Close (the screen was closed; newer hosts) |
Anything else is UiEvent::Other.
Modules§
- keys
- GLFW key codes and modifier bits.
Enums§
- UiEvent
- One parsed UI event — see the module docs.