Gambas Documentation - /comp/gb.ncurses/key

/comp/gb.ncurses/key

# Key (gb.ncurses)

This class is static.
This class acts like a
This is similar to the other key classes. It takes a character and returns what would be returned by, e.g., Window.WaitKey() if that character key was pressed on the keyboard. As that is just the ASCII code of that character, this is meant to be a cute alternative to Asc(Key).
read-only
static array.

Constants

The backspace key
Backspace
The break key (also labeled pause)
Break
Down arrow
Down
The enter key
Enter
Esc
F1
F1
F10
F10
F11
F11
F12
F12
F2
F2
F3
F3
F4
F4
F5
F5
F6
F6
F7
F7
F8
F8
F9
F9
The home key
Home
Left arrow
Left
The PageDown key
PageDown
The PageUp key
PageUp
The return key (the big one on the right hand side of the characters).
Return
The right arrow
Right
The up arrow
Up