Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #106525
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
| Newsgroups | comp.lang.python |
| Subject | Re: tkinter Entry validation modes |
| Date | Tue, 5 Apr 2016 16:12:29 +0100 |
| Lines | 24 |
| 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> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.uni-berlin.de pe/YzbFR+eTxIyd8CS0B6gFfphfgM5/0Q7Gc5ygqyGgw== |
| 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.010 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '...)': 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; 'language': 0.19; '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; 'language.': 0.32; 'url:org': 0.36; '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; 'charset:windows-1252': 0.62; 'our': 0.64; 'python-list': 0.66; 'here': 0.66; 'url:htm': 0.75; 'pythonistas,': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| X-Gmane-NNTP-Posting-Host | 80.234.189.93 |
| User-Agent | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 |
| In-Reply-To | <ndp40j$vql$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> |
| X-Mailman-Original-Message-ID | <ne0kl3$i0o$2@ger.gmane.org> |
| X-Mailman-Original-References | <ndoner$94i$1@ger.gmane.org> <ndp40j$vql$1@ger.gmane.org> |
| Xref | csiph.com comp.lang.python:106525 |
Show key headers only | View raw
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