keyboard events
- From: lecas malecas <darkiiiiii gmail com>
- To: gtkmm-list gnome org
- Subject: keyboard events
- Date: Thu, 25 Aug 2011 20:00:29 +0100
Hey, I have a window which I want to close when the esc key is
pressed, I've tried overriding the "virtual bool on_key_release_event
(GdkEventKey* event); " but I get some weird errors (also can't find
the documentation about GdkEventKey, to identify the keys). I tried
adding a function to the "signal_key_release_event()" but also get
some errors :)
Can anyone tell me how to call a function when the esc key is pressed
(on a Gtk::Window derived class)?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]