in reply to OO novice with Perl/Tk
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().
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: OO novice with Perl/Tk
by Merrick (Initiate) on Jun 26, 2001 at 15:12 UTC |