[pygtk] Problem with key-press-event. (Germ?n Diago)
samwyse
samwyse at gmail.com
Tue Oct 27 05:13:23 WST 2009
It is the normal keyboard repeat. If I hold down my "a" key right
now, I get this: aaaaaaaaaaaaaa
> ---------- Forwarded message ----------
> From: "Germán Diago" <germandiago at gmail.com>
> To: pygtk at daa.com.au
> Date: Sun, 25 Oct 2009 15:48:44 +0100
> Subject: [pygtk] Problem with key-press-event.
> 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.
>
>
> _______________________________________________
> pygtk mailing list pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
>
>
More information about the pygtk
mailing list