$mw->withdraw # Do all your GUI creation stuff here $mw->deiconify; # Not sure if this is needed (maybe only with X) $mw->raise;