Re: Key Listener



Am 06.05.2010 14:50, schrieb TalGuy385 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]