On Fri, May 31, 2002 at 09:30:09AM -0400, Steve McClure wrote: > On Fri, 2002-05-31 at 08:52, Collins wrote: > > I'm using a clist as a display window for background tasks. While the > > task is running, output is captured (compiles, for example) and > > written to a temporary file and the output is also written to the > > screen (when over 30 lines, row zero is removed before inserting new > > data at the bottom. > > > > Unfortunately, the data only appears after all is said and done (the > > command has run to completion). How can I make the data appear as it > > is added to the clist? Once full, the clist should appear as a > > continuously scrolling window with new data appearing at the bottom > > and old data removed at the top. > > After you add the data to the CList try something like: > > while gtk.events_pending(): > gtk.mainiteration(gtk.FALSE)
Added faq item 3.7: http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq03.007.htp Take care, -- Christian Reis, Senior Engineer, Async Open Source, Brazil. http://async.com.br/~kiko/ | [+55 16] 272 3330 | NMFL _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
