in reply to Tk Main window controls

$mw->deiconify();
will raise your mainwindow, if it's iconified before.
What you're looking for is maybe this:
$mw->protocol('WM_DELETE_WINDOW', \&ExitApplication); MainLoop; sub ExitApplication { # do nothing }

I'm not sure if there are other protocol-types for raise and the stuff in the right top corner ...

-----------------------------------
--the good, the bad and the physi--
-----------------------------------

Replies are listed 'Best First'.
Re: Re: Tk Main window controls
by Anonymous Monk on Feb 11, 2003 at 17:29 UTC
    Works perfect!
    Thanks