How do I create a mask or validator for a GtkEntry?
There is an opensource subclass of gtk.Entry, ValidatedEntry, available at: [www.astro.umass.edu] otherwise… In short, there is no feature currently implemented that makes this easy. You can hack your own mask support by catching the insert and delete_text signals and doing the appropriate manipulation, but it is far from trivial to write; FAQ 14.5 includes a basic recipe. There is a bug filed at [bugzilla.gnome.org] that discusses implementation of something like this (validation and masks) at the C level. See the thread at [www.daa.com.au] for more details.