summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/test/tctl.py
blob: 862eeb5a3d671a64fbf4e6e3d8f100a4a246467e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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()