Validating Entry in tkinter
__peter__ at web.de
Mon Jul 25 23:03:24 CEST 2011
python at bdurham.com wrote:
> How would your examples work with text being inserted or deleted via the
> Is there anything special that would have to happen for changes to a
> widget's value as the result of one of these events?
I think it doesn't matter whether you type in text, or insert it with Ctrl+V
or the middle mouse button. The validatecommand handler is always triggered.
I suspect achieving the same effect with Button/KeyPress handlers would
require significantly more work.
More information about the Python-list