[wxpython-users] any tips on doing an on-screen keyboard?
Alec Bennett
whatyoulookin at yahoo.com
Thu Apr 10 23:43:04 PDT 2008
I've been meaning to try an onscreen keyboard in WXPython, wondering if anyone has any tips?
It only needs to interact with statictext boxes in my wxframe. In other words it doesn't need to
send keystrokes to external applications or even deal with things like modal dialog boxes.
I'm guessing the way to go is to make each keyboard button a bitmapbutton, and when clicked it
gets the selection point, appends that letter to the selection point, then sets focus back at the
selection point? Is that even possible, since when the butotn is clicked that becomes the new
selection point? I guess I can keep track of previous selection points in a timer...
Am I on the right track? Anything you'd do differently?
And since this is a whole lot of bitmap buttons that'd be nice to have moveable, should I put all
the buttons on their own panel? Woudl the panel then be moveable and hideable as a unit on my
frame? I've never made multiple panels, wondering if that's how it works.
Thanks for any tips.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the wxpython-users
mailing list