[wxPython-users]Keyboard event translation

甜瓜 littlesweetmelon at gmail.com
Mon Aug 6 18:51:23 PDT 2007


Thank you very much!

> I've never heard of DEARCHAR.
... at _@ It is my pen mistake, WM_DEADCHAR and WM_SYSDEADCHAR.
As you mentioned, these messages are combined into EVT_CHAR in wx.

> There is such a function already but as with win32 it is an internal
> implementation detail.  You just need to use the WXK_ key names and let
> wx take care of the rest for you.
OK! Actually I'm goint to re-implment VNC client with wxPython.
Therefore, I need to conform with rfb protocol which need to send X11
keycode on-wire to tell the remote server which key is pressed. So I
have to translate WXK <-> X11 key. As you said, it is already in the
source of wxWidget. I will find it out.

---
ShenLei




More information about the wxpython-users mailing list