mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
11 lines
188 B
Python
11 lines
188 B
Python
import W
|
|
from Carbon 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()
|