[pygtk] Fwd: Mask in gtk.Entry

Steve McClure smcclure at racemi.com
Mon Oct 25 19:56:41 WST 2004


On Mon, 2004-10-25 at 07:21, Adriano Monteiro wrote:
> Hello,
> 
> Someone here know how to solve my problem???
> Please...
> 
> []'s!

You can't directly set up a mask, AFAIK, but you can modify what the
user types.  Try the FAQ:
http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq14.005.htp
> 
> 
> ---------- Forwarded message ----------
> From: Adriano Monteiro <py.adriano at gmail.com>
> Date: Fri, 22 Oct 2004 15:03:39 +0000
> Subject: Mask in gtk.Entry
> To: pygtk at daa.com.au
> 
> 
> Hi,
> 
> I'm trying to make some kind of mask in a gtk.Entry, but it is not working well.
> Does anybody here know how can I make a mask for a gtk.Entry? This
> will be useful for date and number entries, for example, where I can
> force the user to insert only digits.
> 
> Best regards,
> 
> --
> 
> Adriano Monteiro Marques
> www.red-code.com
> py.adriano at gmail.com
> adriano at red-code.com
> 
> I'm FREE... Are you?
> (PYTHON powered)
-- 
Steve McClure <smcclure at racemi.com>



More information about the pygtk mailing list