Guido van Rossum | 17448e2 | 1995-01-30 11:53:55 +0000 | [diff] [blame] | 1 | # play with controls |
2 | |||||
3 | from Dlg import * | ||||
4 | from Ctl import * | ||||
5 | from Win import * | ||||
6 | from Evt import * | ||||
7 | import time | ||||
8 | |||||
9 | def main(): | ||||
10 | r = (40, 40, 400, 300) | ||||
11 | w = NewWindow(r, "The Spanish Inquisition", 1, 0, -1, 1, 0x55555555) | ||||
12 | w.DrawGrowIcon() | ||||
13 | r = (40, 40, 100, 60) | ||||
14 | c = NewControl(w, r, "SPAM!", 1, 0, 0, 1, 0, 0) | ||||
15 | |||||
16 | |||||
17 | main() |