mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Initial checkin of IDE scripts. (jvr)
This commit is contained in:
parent
b7ad821f02
commit
a840fca155
19 changed files with 334 additions and 0 deletions
10
Mac/IDE scripts/Widget demos/ModalDialog.py
Normal file
10
Mac/IDE scripts/Widget demos/ModalDialog.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
import W
|
||||
import Windows
|
||||
|
||||
|
||||
w = W.ModalDialog((100, 100))
|
||||
|
||||
w.ed = W.EditText((10, 10, 80, 50))
|
||||
w.ok = W.Button((10, 70, 80, 16), "Ok", w.close)
|
||||
w.setdefaultbutton(w.ok)
|
||||
w.open()
|
Loading…
Add table
Add a link
Reference in a new issue