repo.or.cz
/
python
/
dscho.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
py-cvs-rel2_1 (Rev 1.2) merge
[python/dscho.git]
/
Mac
/
Lib
/
test
/
tte.py
blob
9e6bee4471d50395237223573c8be5153348074d
1
# Test TE module, simple version
2
3
from
Win
import
*
4
from
TE
import
*
5
import
Qd
6
7
r
= (
40
,
40
,
140
,
140
)
8
w
=
NewWindow
(
r
,
"TETextBox test"
,
1
,
0
, -
1
,
1
,
0x55555555
)
9
##w.DrawGrowIcon()
10
11
r
= (
10
,
10
,
90
,
90
)
12
13
Qd
.
SetPort
(
w
)
14
t
=
TETextBox
(
"Nobody expects the SPANISH inquisition"
,
r
,
1
)
15
16
import
time
17
time
.
sleep
(
10
)