Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #106290 > unrolled thread
| Started by | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| First post | 2016-04-02 16:11 +0100 |
| Last post | 2016-04-02 12:47 -0500 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
tkinter Entry validation modes Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-04-02 16:11 +0100
Re: tkinter Entry validation modes Wildman <best_lay@yahoo.com> - 2016-04-02 12:47 -0500
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2016-04-02 16:11 +0100 |
| Subject | tkinter Entry validation modes |
| Message-ID | <mailman.366.1459609893.28225.python-list@python.org> |
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? Background, I'm knocking up an app so I can play with the various modes so that I can see how they work, as I'm just venturing into the tkinter world. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence
[toc] | [next] | [standalone]
| From | Wildman <best_lay@yahoo.com> |
|---|---|
| Date | 2016-04-02 12:47 -0500 |
| Message-ID | <kNWdnRosL8xUmJ3KnZ2dnUU7-N3NnZ2d@giganews.com> |
| In reply to | #106290 |
On Sat, 02 Apr 2016 16:11:19 +0100, Mark Lawrence 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? Background, I'm knocking up an app so I can play with > the various modes so that I can see how they work, as I'm just venturing > into the tkinter world. This is off the top of my head and I have not tested it. Since validate is a config option this might do it: e.config(validate='focus') -- <Wildman> GNU/Linux user #557453 The cow died so I don't need your bull!
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web