in reply to Using Tk::Text and '<<Modified>>'
If you want your routine to be called with every keystroke, then bind every keystroke.
Your callback was called once when it was modified. Since you now know it's been modified, there's no reason to call it again.
I don't have the Tk docs with me here, but I recall that you have to reset some kind of flag when modified has been called.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using Tk::Text and '<<Modified>>'
by pg (Canon) on Nov 20, 2004 at 17:48 UTC |