[Glade-users] problem with GtkEntry
Tristan Van Berkom
tvb at gnome.org
Fri Jan 11 08:58:03 EST 2008
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
More information about the Glade-users
mailing list