Re:key release event
- From: Marco Lettere <lettere di unipi it>
- To: <gtk-list gnome org>
- Subject: Re:key release event
- Date: Wed, 27 Nov 2002 12:51:34 +0100 (CET)
In effect catching the key-release-event works fine if the window is a
TOPLEVEL. But if I really want a POPUP what do I have to do to have the
POPUP behave like a TOPLEVEL window?
M.
>I' m creating a fullscreen popup on which I render an opengl screen.
>This popup is created upon a button press on the main application window
>which is a toplevel.
>I'm trying to catch keyboard strokes on the popup connetting to the
>signals "key-pressed" and "key-released" and I also grab the focus to the
>popup.
>Key press events work fine but key release events are ignored.
>I tryed to "connect_after" and/or to "return TRUE in the handler"
>but it doesn't seem to correct out the problem. Where am I doing crap?
>thanx,
>M.
____ _____
| _ \ ___ ___ _ __| ____|
| | | |/ __/ _ \| '__| _|
| |_| | (_| (_) | | | |___
|____/ \___\___/|_| |_____|
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]