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
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,
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