[Glade-users] problem with GtkEntry



2008/1/11 <dashikugua at 126.com>:


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?


Here is the documentation
http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#GtkWidget-key-press-event

If you handle key-press-event before GtkEntry handles it then you can decide
that GtkEntry "aborts" the operation by returning TRUE.

Cheers,
              -Tristan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20080111/179b67b1/attachment.html 




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