I'm not quite clear what you're trying to do. Is the widget you are trying to destroy the toplevel window itself? If it's the MainWindow for your application then this always exits.
For non-toplevel widgets you should just be able to use $widget->destroy().
In reply to Re: OO novice with Perl/Tk
by kevin_i_orourke
in thread OO novice with Perl/Tk
by Merrick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |