blob: a255c56671255d9ea31705c0866965b660cd45f4 [file] [log] [blame]
Guido van Rossum17448e21995-01-30 11:53:55 +00001# play with controls
2
3from Dlg import *
4from Ctl import *
5from Win import *
6from Evt import *
7import time
Jack Jansenae8a68f1995-06-06 12:55:40 +00008import sys
Guido van Rossum17448e21995-01-30 11:53:55 +00009
10def main():
11 r = (40, 40, 400, 300)
12 w = NewWindow(r, "The Spanish Inquisition", 1, 0, -1, 1, 0x55555555)
13 w.DrawGrowIcon()
14 r = (40, 40, 100, 60)
15 c = NewControl(w, r, "SPAM!", 1, 0, 0, 1, 0, 0)
Jack Jansenae8a68f1995-06-06 12:55:40 +000016 print 'Ok, try it...'
17 sys.exit(1) # So we can see what happens...
Guido van Rossum17448e21995-01-30 11:53:55 +000018
19
20main()