Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #106301

Re: tkinter Entry validation modes

From Terry Reedy <tjreedy@udel.edu>
Newsgroups comp.lang.python
Subject Re: tkinter Entry validation modes
Date 2016-04-02 14:45 -0400
Message-ID <mailman.370.1459622753.28225.python-list@python.org> (permalink)
References <ndoner$94i$1@ger.gmane.org>

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: tkinter Entry validation modes Terry Reedy <tjreedy@udel.edu> - 2016-04-02 14:45 -0400

csiph-web