Re: Masking in GtkEntry
- From: Vivien Malerba <vmalerba gmail com>
- To: "Vishak V. Kurup" <vishak kurup nestgroup net>
- Cc: gtk-list gnome org
- Subject: Re: Masking in GtkEntry
- Date: Thu, 4 Nov 2010 11:31:30 +0100
On 4 November 2010 09:42, Vishak V. Kurup <vishak kurup nestgroup net> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]