On 4 November 2010 09:42, Vishak V. Kurup <[email protected]> wrote:
> Hi,
>
>
>
> Has anyone ever tried masking in a GtkEntry. I want to mask my gtkentry
> input in format ”%3d.%3d.%3d” (IP address).

I have written such a widget for Libgda (GnomeDb):
* 
http://git.gnome.org/browse/libgda/tree/libgda-ui/data-entries/gdaui-entry.[ch]
is the basic implementation which can be further customized, for
Libgda into numeric data entry widgets and time and date data entry
widgets (ie. with a mask)
* 
http://git.gnome.org/browse/libgda/tree/libgda-ui/data-entries/gdaui-numeric-entry.[ch]
and 
http://git.gnome.org/browse/libgda/tree/libgda-ui/data-entries/gdaui-formatted-entry.[ch]
which are the specializations.
* there is a test program:
http://git.gnome.org/browse/libgda/tree/testing/gdaui-test-widget-entry.c

Regards,

Vivien
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to