[pygtk] Handle Screenupdates, but no Input Events
Thomas Guettler
guettli at thomas-guettler.de
Fri Jan 5 07:19:24 WST 2007
Hi,
After changing the cursor to gtk.gdk.WATCH, I do
while gtk.events_pending():
gtk.main_iteration()
Can the above code be changed, to only update the screen,
and to leave keyboard/mouse events in the queue?
If the user presses the page-down key several times,
the keypress events get handled before the update of the
cursor. In my app the keyevent needs 1-5 seconds the be handled.
Six times 5 seconds are a half minute without a visible change in
the app. That's too long.
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
Spam Catcher: niemand.leermann at thomas-guettler.de
More information about the pygtk
mailing list