This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients Bruce.Sherwood, ned.deily, ronaldoussoren, taleinat, wordtech
Date 2010-10-15.16:53:24
SpamBayes Score 4.5355744e-05
Marked as misclassified No
Message-id <1287161606.58.0.217261631121.issue10107@psf.upfronthosting.co.za>
In-reply-to
Content
It looks like the '::tk::mac::Quit' callback does not exist in the Apple-supplied Tk 8.4.7 in OS X 10.5 and 10.4, although it does work with the Apple-supplied Tk 8.4.19(?) and 8.5 in 10.6 and with a current ActiveState 8.4.19 on 10.4 through 10.6.  However, instead of that, it looks like overriding the 'exit' callback will work fine on all of them.  In a simple test, I'm able to intercept the Tk app quitting, post a yes/no message, and then terminate the Tk app by destroying the root.  Next I'll try integrating into IDLE.
History
Date User Action Args
2010-10-15 16:53:26ned.deilysetrecipients: + ned.deily, ronaldoussoren, taleinat, wordtech, Bruce.Sherwood
2010-10-15 16:53:26ned.deilysetmessageid: <1287161606.58.0.217261631121.issue10107@psf.upfronthosting.co.za>
2010-10-15 16:53:25ned.deilylinkissue10107 messages
2010-10-15 16:53:25ned.deilycreate