Artifact
1453c41f6270fee1363c9abc0a9200f12a25904d4034027085443a5e65bf00de:
Attachment "justme.tcl" to
ticket [7e8d67af]
added by
jal_frezie
2017-12-23 17:11:57.
(unpublished)
proc ShowNotAbout {winId} {
set t [toplevel .about -bd 4]
wm transient $t $winId
::tk::unsupported::MacWindowStyle style $t moveableModal resizable
pack [message $t.lab -text "Hit button to close window and invoke bug"]
pack [button .about.b -text OK -width 10 -default active \
-command "set ::sendvars(doneAbout) 1"] -pady 2
grab $t
tkwait variable sendvars(doneAbout)
grab release $t
destroy $t
focus -force [winfo toplevel $winId]
update idletasks
}
menu .m -tearoff 0
menu .m.n
.m add cascade -label Do -menu .m.n
.m.n add command -label It -command [list ShowNotAbout .]
. configure -menu .m