Re: Limitting the Contents of an Entry Widget in Tkinter

2006-01-14 Thread Markus Weihs
Am Sat, 14 Jan 2006 13:24:01 -0800 schrieb Dustan: > How do I limit what the user can enter in an Entry Widget? I know I can > set it to display '*' to hide a password, but what I want to do is > limit the contents to numeric characters. What is the easiest way of > doing this? Hi! Fredrik Lundh

Re: Limitting the Contents of an Entry Widget in Tkinter

2006-01-14 Thread James Stroud
Dustan wrote: > How do I limit what the user can enter in an Entry Widget? I know I can > set it to display '*' to hide a password, but what I want to do is > limit the contents to numeric characters. What is the easiest way of > doing this? > You can check the source of tkSimpleDialog.askfloat,

Limitting the Contents of an Entry Widget in Tkinter

2006-01-14 Thread Dustan
How do I limit what the user can enter in an Entry Widget? I know I can set it to display '*' to hide a password, but what I want to do is limit the contents to numeric characters. What is the easiest way of doing this? -- http://mail.python.org/mailman/listinfo/python-list