problems with keyboard events in pygtk

Hello all,

    I am running pygtk in ubuntu 9.04.  I am having a problem with keyboard events because whenever a key is held down it emits pressed released pressed released until the key is actually released.  I want it to release only one released signal.  I am trying to monitor the state of the keyboard and when it is pressed it is appended to a list and when it is realeased it is removed.  However, with these fake released signals it removes it from the list when it shouldn't.  From asking around on irc I gather that it should not actually behave this way, but I have gotten the same results on three computers I have tried, all runnning ubuntu 9.04.  I would really appriciate any help on this matter.

James Boisture

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