Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4d56ecf

Browse files
committed
Minimal test of Dlg.SetControlData by Corran Webster: draw a default
ring around a button. Mainly here so I can transfer it home:-)
1 parent 8f5725a commit 4d56ecf

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import W
2+
from Controls import *
3+
4+
w = W.Window((200,200), "Test")
5+
6+
w.c = W.Button((5,5,100,50), "Test")
7+
8+
w.open()
9+
10+
print repr(w.c._control.GetControlData(0, 'dflt'))
11+
12+
str = '\001'
13+
w.c._control.SetControlData(0, 'dflt', str)

0 commit comments

Comments
 (0)