Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Terry Reedy Newsgroups: comp.lang.python Subject: Re: tkinter Entry validation modes Date: Sat, 2 Apr 2016 14:45:33 -0400 Lines: 16 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de qnP4xAk2okqJk2lpAAKYPgVx1d4eJXn4VBWe8gEN4CEQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'jan': 0.11; '...)': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'reedy': 0.16; 'subject:Entry': 0.16; 'wrote:': 0.16; 'typical': 0.18; 'lawrence': 0.22; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'entry': 0.31; 'option': 0.31; 'possible': 0.36; 'mode': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'skip:e 20': 0.39; 'to:addr:python.org': 0.40; 'mark': 0.40; 'field': 0.60; 'received:96': 0.63; 'python-list': 0.66; 'received:fios.verizon.net': 0.91 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: pool-96-227-207-81.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:106301 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