Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Windows Exit from Dialog Box in Perl/Tkby arden (Curate) |
on Jun 04, 2004 at 14:19 UTC ( [id://360887]=note: print w/replies, xml ) | Need Help?? |
I've worked with Perl/Tk using ActiveState 5.6 and 5.8 and have had no problems using the "X" to close windows. If you want to capture that, it's the "destroy" event, so for a mainWindow $mw, use $mw->OnDestroy( \&this_sub );
Maybe you're code is expecting something to be returned and when it's not it prevents the destroy call. It would really help us to help you if you posted some of the relevant code. . . - - arden.
In Section
Seekers of Perl Wisdom
|
|