Bump version to 1.0.
[python/dscho.git] / Mac / Lib / test / test_setcontroldata.py
blobc46e6134d1c1a524f1ab00d26c102e52afb4f352
1 import W
2 from Controls import *
4 w = W.Window((200,200), "Test")
6 w.c = W.Button((5,5,100,50), "Test")
8 w.open()
10 print repr(w.c._control.GetControlData(0, 'dflt'))
12 str = '\001'
13 w.c._control.SetControlData(0, 'dflt', str)