Re: Masking in GtkEntry

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

 



On 4 November 2010 09:42, Vishak V. Kurup <vishak.kurup@xxxxxxxxxxxxx> 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
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux