repo.or.cz
/
tcl-tlc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Improved handling of case where child is killed by a signal
[tcl-tlc.git]
/
examples
/
test_modal.tcl
blob
9a81dc7979fcff7ad7878c7321e4014586d7709c
1
#!/usr/bin/itkwish3.1
2
3
source
"boilerplate.tcl"
4
5
wm
withdraw .
6
7
Confirm .confirm
8
9
if
{[
.confirm ask
"Are you sure?"
"Yes"
"No"
] ==
"Yes"
} {
10
puts
"Yes"
11
}
else
{
12
puts
"No"
13
}
14
15
exit