Re: Key Listener
- From: michi7x7 <mailing-lists michi7x7 de>
- To: gtkmm-list gnome org
- Subject: Re: Key Listener
- Date: Thu, 06 May 2010 15:00:38 +0200
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]