vikee has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
how can I catch in Perl/Tk the closing of the program?
something like OnExit in C. I tried $top->bind
('<Destroy>' ...) but it is called everytime when a widget is destroyed.
I need only when the program is closed.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tk onExit
by pg (Canon) on Jul 21, 2004 at 09:05 UTC | |
| |
|
Re: Tk onExit
by arden (Curate) on Jul 21, 2004 at 20:15 UTC | |
|
Re: Tk onExit
by graff (Chancellor) on Jul 22, 2004 at 01:11 UTC | |
by eserte (Deacon) on Jul 22, 2004 at 15:04 UTC |