[wxpython-users] any tips on doing an on-screen keyboard?

Peter Damoc pdamoc at gmail.com
Fri Apr 11 01:26:58 PDT 2008


How about implementing it as a custom control?
You could draw it nicely... :) and maybe even release it as a open control.
Who knows, other people might discover a sudden interest in it and help you.

Peter

On Fri, Apr 11, 2008 at 9:43 AM, Alec Bennett <whatyoulookin at yahoo.com>
wrote:

> 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
> _______________________________________________
> wxpython-users mailing list
> wxpython-users at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
>



-- =

There is NO FATE, we are the creators.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200804=
11/fe05ee03/attachment.htm


More information about the wxpython-users mailing list