Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #106525
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: tkinter Entry validation modes |
| Date | 2016-04-05 16:12 +0100 |
| Message-ID | <mailman.74.1459869304.32530.python-list@python.org> (permalink) |
| References | <ndoner$94i$1@ger.gmane.org> <ndp40j$vql$1@ger.gmane.org> <ne0kl3$i0o$2@ger.gmane.org> |
On 02/04/2016 19:45, Terry Reedy wrote: > 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) > Yes, there's an write up on it here http://effbot.org/tkinterbook/tkinter-widget-configuration.htm -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: tkinter Entry validation modes Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-04-05 16:12 +0100
csiph-web