in reply to Re: Re: Using a Tk window within a function
in thread Using a Tk window within a function

Presumably I would withdraw it from view like so:

$mainwindow->withdraw()