Key Events

Key Events
Key Event Types
Functions/Procedures
Supertopics
Subtopics

Key Events

[func]
get_key_code
( atom event )

Category: Key Events

Returns: Virtual key code

Returns the virtual key code. ASCII events return normal ASCII values, while non-ASCII events return values such as WXK_LEFT for the left cursor key.


Key Events

[func]
get_unicode_key
( atom event )

Category: Key Events


Key Events

[func]
key_event_altdown
( atom event )

Category: Key Events

Returns: True or false

This returns an atom of 1 if the Alt key is currently pressed down and 0 if it is not.


Key Events

[func]
key_event_controldown
( atom event )

Category: Key Events

Returns: True or false

This returns an atom of 1 if the Control key is currently pressed down and 0 if it is not.


Key Events

[func]
key_event_shiftdown
( atom event )

Category: Key Events

Returns: True or false

This returns an atom of 1 if the Shift key is currently pressed down and 0 if it is not.