In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > 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.
Set an internal state variables "isChanged" based on the Text callback and only modify the menu if the variable is set. It's trickier to detect "significant" changes vs insigificant ones. Personally I would not bother to go that far. -- Russell -- http://mail.python.org/mailman/listinfo/python-list