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


Groups > comp.lang.python > #106525 > unrolled thread

Re: tkinter Entry validation modes

Started byMark Lawrence <breamoreboy@yahoo.co.uk>
First post2016-04-05 16:12 +0100
Last post2016-04-05 16:12 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: tkinter Entry validation modes Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-04-05 16:12 +0100

#106525 — Re: tkinter Entry validation modes

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2016-04-05 16:12 +0100
SubjectRe: tkinter Entry validation modes
Message-ID<mailman.74.1459869304.32530.python-list@python.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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web