Re: [gtkmm] Grab key_pressed event
- From: Manuel Clos <llanero eresmas net>
- To: xavier dufresne <xdufresne gmx fr>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] Grab key_pressed event
- Date: Mon, 16 Sep 2002 19:04:31 +0200
xavier dufresne wrote:
Hi,
I don't manage to grab all key events from a Gtk::Entry widget with
GdkEventKey.
It grabs only 'escape', 'F1 ... F12', Shift, Ctrl, ..., but don't grab any
other key as 'a...z', '1...0', ...
I want to grab when 'enter' key is pressed, but I think the Gtk::Entry
widget grabs it before and keep it for him.
I also tried the 'signal_changed' method of Gtk::Editable but it grabs
exactly the same keys as GdkEventKey.
Is there a way to grab such a key ?
You want to use signal_activate()
--
Manuel Clos
llanero eresmas net
TCPA y Palladium: http://bulmalug.net/body.phtml?nIdNoticia=1398
TCPA and Palladium: http://www.cl.cam.ac.uk/~rja14/tcpa-faq.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]