Re: creating a entry "mask"



Thanks a lot!

On 8/24/05, Luca Cavalli <loopback slackit org> wrote:
On Tue, 2005-08-23 at 15:15 -0300, Arx Henrique wrote:
Hi all

anyone have some example about how create a mask for a gtkentry?

like __/__/____ for date, when the user digit a number if the position
= 3 insert a "/" and so on.

i'm try to use text-inserted event to do this, but always i get a segmentation.

cheers

Arx Cruz

Hi,
such a widget was already developed. Here is the link:
http://saettaz.altervista.org/software/gtkmaskedentry.html

Luca

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



-- 
"A fé remove montanas, mas eu prefiro a dinamite"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]