diff options
author | Guido van Rossum <guido@python.org> | 1995-01-30 11:53:55 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-01-30 11:53:55 (GMT) |
commit | 17448e24081eb713ac00d7bcb681f4f0d8abfcbf (patch) | |
tree | 4f9d6768ef326173e1141b1a92af63247a42b13a /Mac/Lib/test/tctl.py | |
parent | 80ffd6683ca7b06ed743c629459b06b07defbfb3 (diff) | |
download | cpython-17448e24081eb713ac00d7bcb681f4f0d8abfcbf.zip cpython-17448e24081eb713ac00d7bcb681f4f0d8abfcbf.tar.gz cpython-17448e24081eb713ac00d7bcb681f4f0d8abfcbf.tar.bz2 |
Committed a more or less working version.
Diffstat (limited to 'Mac/Lib/test/tctl.py')
-rw-r--r-- | Mac/Lib/test/tctl.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Mac/Lib/test/tctl.py b/Mac/Lib/test/tctl.py new file mode 100644 index 0000000..862eeb5 --- /dev/null +++ b/Mac/Lib/test/tctl.py @@ -0,0 +1,17 @@ +# play with controls + +from Dlg import * +from Ctl import * +from Win import * +from Evt import * +import time + +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) + + +main() |