Mercurial > cpython-lru_cache-weakref
view Mac/Lib/test/tctl.py @ 5817:48b94de85bf3 legacy-trunk
Extensive changes by AMK.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 17 Jul 1997 16:29:42 +0000 |
| parents | abf116db523f |
| children |
line wrap: on
line source
# play with controls from Dlg import * from Ctl import * from Win import * from Evt import * import time import sys def main(): r = (40, 40, 400, 300) w = NewWindow(r, "The Spanish Inquisition", 1, 0, -1, 1, 0x55555555) w.DrawGrowIcon() r = (40, 40, 100, 60) c = NewControl(w, r, "SPAM!", 1, 0, 0, 1, 0, 0) print 'Ok, try it...' sys.exit(1) # So we can see what happens... main()
