[pygtk] Mask entry
Johan Dahlin
jdahlin at async.com.br
Fri Feb 17 04:32:37 WST 2006
Before integrating this into kiwi I wanted to share this with the rest of
you. I know that quite a few of you has asked for this kind of
functionality, it's very useful to make it easier, less error prone
to enter strings which needs to be of a certain format like
dates, ip addresses, social security numbers.
Attached is a mask entry which runs standalone, documented and with a simple
example.
Please note that this is only doing input validation, not checking
the actual *content*, since that's already solved in another layer in
kiwi I did not want duplicate that code.
--
Johan Dahlin <jdahlin at async.com.br>
Async Open Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: masks.py
Type: text/x-python
Size: 7904 bytes
Desc: not available
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20060216/7577db54/masks-0001.py
More information about the pygtk
mailing list