Limitting the Contents of an Entry Widget in Tkinter
mweihs at gmx.at
Sun Jan 15 08:45:31 CET 2006
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?
Fredrik Lundh's ValidateEntry might be what you want.
More information about the Python-list