[PythonCE] PythonCE on Smartphone (WM6)

tracer tracer at pochtamt.ru
Fri Feb 15 13:34:58 CET 2008


You can use something like this:

mainw.bind_all("<Down>", lambda e : mainw.event_generate("<Tab>"))
mainw.bind_all("<Up>", lambda e : mainw.event_generate("<Shift-Tab>"))
mainw.bind_all("<Return>", lambda e : mainw.event_generate("<space>"))

It works fine on my WM6 smartphone

Jorgen Bodde-3 wrote:
> Hi All,
> I have PythonCE 2.5 and TKinter running on my smartphone. I wrote a
> minimal app and I see a dialog with a button, but since it is a
> smartphone which does only have number keys and a jog dial to control
> the input, the window stays unresponsive to input. I cannot even set
> the focus to a control.
> Is there anything I need to do to get it to redirect the number keys
> and make it focus a control?
> Regards,
> - Jorgen

View this message in context: http://www.nabble.com/PythonCE-on-Smartphone-%28WM6%29-tp13218053p15499042.html
Sent from the Python - pythonce mailing list archive at Nabble.com.

More information about the PythonCE mailing list