Re: key release event



Hi,

Marco Lettere <lettere di unipi it> writes:

> 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.

did you add GDK_KEY_RELEASE_MASK to the widget's event mask ?


Salut, Sven




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]