I have neither Tcl::Tk nor a Mac, but my usual way to exit a Tk program is
$mw->Button(-text=>"Exit",-command=>sub{$mw->destroy})->pack();
this causes the MainLoop to return (so you could do some other cleanup before actually exiting).
In reply to Re: Tcl::Tk exit
by tybalt89
in thread Tcl::Tk exit
by Sandy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |