Move setting of ioready 'wait' earlier in call chain, to
[python/dscho.git] / Mac / Lib / test / tte.py
blobbde7de247ac66ddbceca220507602a370454c2d6
1 # Test TE module, simple version
3 from Carbon.Win import *
4 from Carbon.TE import *
5 from Carbon import Qd
7 r = (40, 40, 140, 140)
8 w = NewWindow(r, "TETextBox test", 1, 0, -1, 1, 0x55555555)
9 ##w.DrawGrowIcon()
11 r = (10, 10, 90, 90)
13 Qd.SetPort(w)
14 t = TETextBox("Nobody expects the SPANISH inquisition", r, 1)
16 import time
17 time.sleep(10)