[Glade-users] problem with GtkEntry
Alexey Kurochkin
alexey.kurochkin at pathfinderlwd.com
Thu Jan 10 08:43:44 EST 2008
Connect a callback to a "key-press-event" and filter there everything
outside GDK_0 to GDK_9 and GDK_KP_0 to GDK_KP_9
On Thu, 2008-01-10 at 20:06 +0800, dashikugua wrote:
>
> Hi all:
>
> I need some information about the GtkEntry widget. I need the
> GtkEntry on the GUI which I am designing to receive only the numeric
> key of the keyboard, which means that when the GtkEntry is grabbing
> the input focus and I press down the alphabetic key such as "A", the
> Entry does not show the corresponding letter. But I do not konw how to
> realize this function. Any information is appreciated.
> Thanks:)
>
>
> _______________________________________________
> Glade-users maillist - Glade-users at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/glade-users
More information about the Glade-users
mailing list