[Glade-users] problem with GtkEntry
- From: alexey.kurochkin at pathfinderlwd.com (Alexey Kurochkin)
- Subject: [Glade-users] problem with GtkEntry
- Date: Thu, 10 Jan 2008 07:43:44 -0600
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]