Re: Key Listener
- From: Talguy <talguy385 gmail com>
- To: michi7x7 <mailing-lists michi7x7 de>
- Cc: gtkmm-list gnome org
- Subject: Re: Key Listener
- Date: Thu, 6 May 2010 12:26:52 -0400
Would adding the event mask be the value of the keys that I want to detect. I thought there would all ready be a header file with all the common keys found on a keyboard
Evan
On Thu, May 6, 2010 at 9:00 AM, michi7x7
<mailing-lists michi7x7 de> wrote:
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
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
--
HAHA
>From Evan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]