Bump version number to 2.4.2 to pick up the latest minor bug fixes.
[python/dscho.git] / Mac / Lib / test / test_setcontroldata.py
blob81672145ac48a28b2719d342998eedb66e3fbc36
1 import W
2 from Carbon.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)