Am 06.05.2010 14:50, schrieb talguy...@gmail.com:
I am pretty new to the gtkmm and gui programming. I've searched the web for examples but can't find any that would show me how to detect if a key is pressed and how to handle that key input. Could someone point me in the right direction to handle key events? Also is there a header file that list all the keys and their key codes that gtkmm supports so that I don't have to create my own?
Simply add keypresses to the event mask (set_event_mask()) and connect to signal_key_press_event().

With regards,

michi7x7
_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to