[pygtk] Problem with key-press-event.

Germán Diago germandiago at gmail.com
Sun Oct 25 22:48:44 WST 2009


Hello. I have an SDL window embedded in a socket in an application.

Though this socket, key press events are sent to the SDL application.

The problem is that if I hold, for example, the 'a' key pressed,
multiple key_press and key_release
events are generated. I don't know why this happens.

The configuration for the set_events in socket is key_press mask,
key_release mask and button release and press
(I need them for other things).

Does anybody know what is causing this strange behaviour?

Thanks in advance.


More information about the pygtk mailing list