Brian Wagener wrote: > void on_test_key_press_event(GtkWidget *w, GdkEvent *e, gpointer ptr){ > printf("The key pressed was %d\n",ptr); > } ptr is not the key. The key is in the GdkEvent structure. -- James Cameron (cameron@stl.dec.com)