I put the cursor on "GrabPixmap" and press F1 once, I get the function on the bottom status line. I press F1 a second time and the docs open up to the GrabPixmap entry in the docs.
pressing F1 on "KEY_F1" doesn't bring up any docs, but pressing F1 on "KeyHit" and "KeyDown" brings up its entry and there's a link to the part of the docs with the keycodes listed.
Clicking on the word "KeyCodes" brings me to
Which then lists all the KeyCode macros, including KEY_F1.
pressing F1 on "KEY_F1" doesn't bring up any docs, but pressing F1 on "KeyHit" and "KeyDown" brings up its entry and there's a link to the part of the docs with the keycodes listed.
Function KeyDown( key )
Returns True if key is currently down.
Description Check for key state.
Information See the KeyCodes docs for a list of valid keycodes.
Returns True if key is currently down.
Description Check for key state.
Information See the KeyCodes docs for a list of valid keycodes.
Clicking on the word "KeyCodes" brings me to
Key codes
The key codes module contains a list of constants representing numeric codes for keys, modifiers and mouse buttons.
The key codes module contains a list of constants representing numeric codes for keys, modifiers and mouse buttons.
Which then lists all the KeyCode macros, including KEY_F1.