Kevin Walzer <wordt...@users.sourceforge.net> added the comment: Try something like this:
root.createcommand('::tk::mac::Quit', <insert IDLE's shutdown function here>) This will map whatever function IDLE calls to prompt the user to save data before closing, to the Apple quit event. ---------- nosy: +wordtech _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10107> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com