Re: Capture close window button in Tkinter

2005-06-12 Thread William Gill
Jonathan Ellis wrote: > William Gill wrote: > >>I am trying to make a simple data editor in Tkinter where each data >>element has a corresponding Entry widget. I have tried to use the >>FocusIn/FocusOut events to set a 'hasChanged' flag (if a record has not >>changed, the db doesn't need updati

Re: Capture close window button in Tkinter

2005-06-12 Thread Jonathan Ellis
William Gill wrote: > I am trying to make a simple data editor in Tkinter where each data > element has a corresponding Entry widget. I have tried to use the > FocusIn/FocusOut events to set a 'hasChanged' flag (if a record has not > changed, the db doesn't need updating). This seems to work fi

Capture close window button in Tkinter

2005-06-12 Thread William Gill
I am trying to make a simple data editor in Tkinter where each data element has a corresponding Entry widget. I have tried to use the FocusIn/FocusOut events to set a 'hasChanged' flag (if a record has not changed, the db doesn’t need updating). This seems to work fine except that when the