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)

> 
> -- 
> Collins Richey - Denver Area - WWTLRD?
> gentoo(since 01/01/01) 2.4.18+(ext3) xfce-sylpheed-mozilla
> _______________________________________________
> pygtk mailing list   [EMAIL PROTECTED]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
-- 
Steve McClure                   430 10th St NW
Racemi                          Suite N-210
http://www.racemi.com           Atlanta, GA 30318
[EMAIL PROTECTED]             voice/fax: 404-892-5850

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to