tkinter Entry validation modes

Terry Reedy tjreedy at udel.edu
Sat Apr 2 14:45:33 EDT 2016


On 4/2/2016 11:11 AM, Mark Lawrence via Python-list wrote:
> A typical call to create an Entry field would be:-
>
> e = Entry(master, validate='all', ...)
>
> Once this call has been made is it possible to change the validation
> mode at runtime?

AFAIK, every keyword-only configuration option can be changed.

e['validate'] = xyz
e.config(validate=xyz)

-- 
Terry Jan Reedy




More information about the Python-list mailing list