[Glade-users] problem with GtkEntry
- From: dashikugua at 126.com (dashikugua at 126.com)
- Subject: [Glade-users] problem with GtkEntry
- Date: Fri, 11 Jan 2008 21:23:55 +0800 (CST)
Sorry for my poor English:)
Do you mean that I can connect a callback to the signal "key-press-event" of the GtkEntry and realize the
function by writing the corresponding program in the callback funtion?
Does the GtkEntry not have a property which could be set to realize the function?
??2008-01-10??"Alexey Kurochkin" <alexey.kurochkin at pathfinderlwd.com> ??????
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
_______________________________________________
Glade-users maillist - Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20080111/42f5faf8/attachment.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]