Mercurial > code > home > repos > light9
comparison bin/gyrocontroller @ 257:e50e87f1103f
TkGyro: now really goes fullscreen
author | David McClosky <dmcc@bigasterisk.com> |
---|---|
date | Wed, 15 Jun 2005 23:54:50 +0000 |
parents | e543deec6678 |
children | c9940e4e68d6 |
comparison
equal
deleted
inserted
replaced
256:e543deec6678 | 257:e50e87f1103f |
---|---|
172 | 172 |
173 gyro = TkGyro(root, [str(i) for i in range(1, 11)]) | 173 gyro = TkGyro(root, [str(i) for i in range(1, 11)]) |
174 gyro.pack(fill='both', expand=1) | 174 gyro.pack(fill='both', expand=1) |
175 gyro.focus_get() | 175 gyro.focus_get() |
176 root.bind('<Key-q>', lambda evt: root.destroy()) | 176 root.bind('<Key-q>', lambda evt: root.destroy()) |
177 root.maxsize(root.winfo_screenwidth(), root.winfo_screenheight()) | |
177 Tk.mainloop() | 178 Tk.mainloop() |