If you're doing this for input validation you should consider using
the built-in validation features of the entry widget instead of using
a trace. Here's a description of how to use it:

http://stackoverflow.com/a/4140988/7432


On Wed, Mar 6, 2013 at 6:49 PM, Bob Greschke <b...@passcal.nmt.edu> wrote:
> Hi!
>
> I'm messing with the .trace() function of StringVar()s to, in this case, 
> check to see that the user has not entered more than an allowable number of 
> characters (ckW() below does that).  I'm replacing a monstrous <KeyRelease> 
> .bind method.
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to