> > Hello everybody, I would like to know wich key has been pressed when a key_press_event happen. Do you know how can I do that ?? >
key_press_hook_function (GtkWidget *widget,GdkEventKey *event)
{
look at (event->keyval)
}
To understand the codes:
vi /usr/include/gtk-2.0/gdk/gdkkeysyms.h
Jose Hevia
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list
