1999-12-09 11:36:36 -04:00
|
|
|
import W
|
2001-08-25 09:15:04 -03:00
|
|
|
from Carbon.Controls import *
|
1999-12-09 11:36:36 -04:00
|
|
|
|
|
|
|
w = W.Window((200,200), "Test")
|
|
|
|
|
|
|
|
w.c = W.Button((5,5,100,50), "Test")
|
|
|
|
|
|
|
|
w.open()
|
|
|
|
|
|
|
|
print repr(w.c._control.GetControlData(0, 'dflt'))
|
|
|
|
|
|
|
|
str = '\001'
|
|
|
|
w.c._control.SetControlData(0, 'dflt', str)
|