Re: [glade--]Keypress event for DrawingArea
- From: Christof Petig <christof petig-baender de>
- To: Mark Jones <mark jones106 verizon net>
- Cc: glademm-list gnome org
- Subject: Re: [glade--]Keypress event for DrawingArea
- Date: Mon, 04 Mar 2002 09:00:05 +0100
Mark Jones wrote:
I am trying to get a keypress event to happen whenever the drawing area
is in focus (by the mouse being over it or the mouse has clicked on it
to bring it into focus), and have added my drawing area to an event box.
I have added to the keypress event function a cerr statement so I can
see if it works, but it never does. I have successfully added a mouse
button click and a mouse button release event (and their cerr statements
are invoked), but it just doesn't seem to work for a key press. Is this
supported? All three events have been assigned to the event box and not
the drawing area from within glade.
Did you ever test to connect to the keypress event of the drawing area?
You can even connect if glade does not initially offer you the signal.
Christof
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]