Re: [PythonCE] PythonCE on Smartphone (WM6)

2008-02-15 Thread tracer
Hi, You can use something like this: mainw=Tk() mainw.bind_all("", lambda e : mainw.event_generate("")) mainw.bind_all("", lambda e : mainw.event_generate("")) mainw.bind_all("", lambda e : mainw.event_generate("")) It works fine on my WM6 smartphone Jorgen Bodde-3 wrote: > > Hi All, > > I

Re: [PythonCE] 5 way

2008-02-27 Thread tracer
Try this: from Tkinter import * mainw=Tk() s_height = mainw.winfo_screenheight() / 2 s_width = mainw.winfo_screenwidth() / 2 mainw.geometry(str(s_width) + "x" + str(s_height) + "+0+0") mainw.bind_all("", lambda e : label1.configure(text="Down")) mainw.bind_all("", lambda e : label1.configure(t