update: try -command=>[$mw => 'destroy']
In reply to Re: Tk and MainLoop by PodMaster in thread Tk and MainLoop by murugu