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


Groups > comp.lang.python > #106301

Re: tkinter Entry validation modes

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Terry Reedy <tjreedy@udel.edu>
Newsgroups comp.lang.python
Subject Re: tkinter Entry validation modes
Date Sat, 2 Apr 2016 14:45:33 -0400
Lines 16
Message-ID <mailman.370.1459622753.28225.python-list@python.org> (permalink)
References <ndoner$94i$1@ger.gmane.org>
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 <python-python-list@m.gmane.org>
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 <ndoner$94i$1@ger.gmane.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:106301

Show key headers only | 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