Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
5daef3135553228d6a16f97dda21547a7ce71820
/
.
/
Mac
/
IDE scripts
/
Widget demos
/
ModalDialog.py
blob: 683a76aaa9a77f3a397328b8f5b9da228f98fcf9 [
file
] [
log
] [
blame
]
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
()