problem understanding pygtk

Dave Cook davecook at nowhere.net
Thu Oct 28 15:19:20 EDT 2004


In article <slrnco2e9c.4gk.tonon at cantina.students.cs.unibo.it>, Samuele
Giovanni Tonon wrote:

> basically i need to make pulse the progressbar while i'm copying files
> and write filenames copied on the ListStore on to the window.

You need to call gtk.main_iteration() to "wake up" the event loop in between
copies.  See

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

See also

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

Dave Cook



More information about the Python-list mailing list