Hi all, I have a window with a callback to resolve the "key-press-event" signal. The callback is: gboolean alterCurrentTab(GtkWidget widget, GdkEventKey *event, gpointer user_data) { g_print("\nkey: %s - %d - %lu", gdk_keyval_name(event->keyval), event->state, event->hardware_keycode); return FALSE; } The problem is that the return is always: key: (null) - -15694833 - 51081 Obs: I'm using the gtk_widget_set_events(window, GDK_KEY_PRESS_MASK); on this window. What I'm doing wrong? -- Thanks, Frederico Schardong, SOLIS - Open source solutions www.solis.coop.br Linux registered user #500582 _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list