Re: [Tkinter-discuss] Trapping event for Toplevel()

2007-08-07 Thread Cameron Laird
On Tue, Aug 07, 2007 at 11:08:30AM -0400, Gerardo Juarez wrote: . . . > I would like to know if there is a way to trap the kill button event in a > Toplevel window. I'm having problems with a dialog which has a "Close" > butt

[Tkinter-discuss] Trapping event for Toplevel()

2007-08-07 Thread Gerardo Juarez
Hi, I would like to know if there is a way to trap the kill button event in a Toplevel window. I'm having problems with a dialog which has a "Close" button, but users keep closing it with the kill button (the big X at the upper right corner). After such a close, the application refuses to re-