[pygtk] Handle Screenupdates, but no Input Events

Gian Mario Tagliaretti g.tagliaretti at gmail.com
Fri Jan 5 22:01:11 WST 2007


2007/1/4, Thomas Guettler <guettli a thomas-guettler.de>:
> 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?

There is an example in pygtk FAQ that does something similar, the GUI
updates but you cannot interact with widgets:

http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq03.007.htp

HTH

cheers
-- 
Gian Mario Tagliaretti
http://www.parafernalia.org/pygtk/


More information about the pygtk mailing list