Can anyone give me some guidance on generating keyboard events? There are a couple of widgets that just don't work to suit me, and which cannot (so far as I can tell) be directly overridden; the gtk.EntryCompletion is my #1 pet peeve, for how it handles Tab. I'd like to catch the keystroke (which I know how to do), nullify it (which I think I know how to do), and generate a Return and a Tab and have them handled in that order (I'll need to keep a flag to prevent the synthetic Tab from making the whole mess loop).

But I'm not having any luck finding guidance for creating synthetic keyboard events.

Anybody?

-- Chris.

_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to