Interestingly, the function is not called at all when i press any of the keys left, right, up, down, home, end, pgUp, pgDn
Although Home, End, pgUp and pgDn do have an effect: my window contains an Gtk::Image inside a Gtk::ScrolledWindow, the latter key move the vertical scrollbar. So somehow those special keys get lost somewhere, but all other keys (letters, Escape, Delete, Ins, all F-keys) work correctly. On Thu, Apr 22, 2010 at 4:44 PM, Paul Davis <[email protected]> wrote: > On Thu, Apr 22, 2010 at 6:37 AM, jody <[email protected]> wrote: > >> But when my Window is running, only the Escape key is caught, but none >> of the arrow keys. >> Am i missing something, or isn't it possible? > > also, the simple approach is to just add: > > default: > printf ("Key pressed was: %d\n", ev->key); > break; > > to see what you do get. > _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
