[wxPython-users]Keyboard event translation

甜瓜 littlesweetmelon at gmail.com
Sun Aug 5 20:33:26 PDT 2007


Hi,  my questions are:
1. I'm confuse with the win32 .vs. wx key handling, since win32 has
DEARCHAR, SYSKEY messages while wx not. How does wx treat dearchar?
How does wx translate key combinations to a Latin1 character?

2. What does WXK_SPECIAL1...20 use for? Is there any relation between
WXK and win32 VK code?

3. (Maybe very hard) In X11, keysymdef.h is used instead of VK code.
How to translate WXK to X11 keyevent? I think the wx should implement
something for WXK<->X11 key mapping in order to work correctly on X11
platforms.

4. (Eager to know) Does python or wxPython provides
platform-independent functions to detect and control keyboard states?
I want to get/set NumLock CapsLock status.

Thank you for your attention.

ShenLei




More information about the wxpython-users mailing list