Tkinter: Missing the last piece of the puzzle

MartinRinehart at gmail.com MartinRinehart at gmail.com
Sun Feb 24 05:16:37 EST 2008



Simon Forman wrote:
> yes! check out http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/464635
>
> HTH,
> ~Simon

Thanks, Simon. Looks like that will do it.

Actually, it looks like that will overdo it. I'll be setting File/Save
to enabled after every keystroke. Ideally, I'd like to set my statuses
when the user clicks the File option or types Alt-F. This makes me
wonder if there's a "mixin" that could find this event. Hmmm.

Alternatively, could modify this code to NOT reset the modified flag,
so I only get called on the first modification. Hmmm.



More information about the Python-list mailing list