wxPython: Transferring keyboard events from one frame to another

Ziv Forshtat forshtat at hotmail.com
Tue Feb 3 09:37:02 CET 2004


Josiah Carlson <jcarlson at nospam.uci.edu> wrote in message news:<bvmolq$aud$2 at news.service.uci.edu>...
> > I'm in the process of implementing a virtual keypad: I have a wxFrame
> > which contains a photo the keypad of some device, and I'm using it to
> > enter special keywords into an editor window (wxStc). Each part of the
> > photo is associated with a certain keyword, which is sent to the
> > editor frame and displayed inside the editor. This is working fine.
> > However, if I want a proper virtual keyboard I should also be able to
> > transfer the regular keypresses (keyboard events) from my virtual
> > keypad frame to the editor frame, in order to save the user the
> > trouble of clicking on the editor window every time in order to set
> > the focus.
> 
> Question:
> Is your 'virtual keypad' /showing keypresses/, or is your 'virtual 
> keypad' used for text entry with a mouse?

Hi Josiah,
My virtual keypad is used for text entry with a mouse, but I also want
to transfer regular keyboard key presses from the keypad to the
'client' window.

Ziv



More information about the Python-list mailing list