Validating Entry in tkinter
Peter Otten
__peter__ at web.de
Mon Jul 25 17:03:24 EDT 2011
python at bdurham.com wrote:
> How would your examples work with text being inserted or deleted via the
> clipboard?
>
> 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
mailing list