Re: problems with keyboard events in pygtk

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

 



On Thu, Jun 11, 2009 at 11:15 AM, Jamie Boisture<jamieboisture@xxxxxxxxx> wrote:
> 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.

http://www2.tcl.tk/20299

notice that GDK/GTK is already attempting to take care of this for
you. see also this email thread:

http://www.mail-archive.com/ubuntu-mobile@xxxxxxxxxxxxxxxx/msg00516.html
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux