[pygtk] Insisting with the progress bar

Aaron Optimizer Digulla digulla@hepe.com
Wed, 23 Aug 2000 16:26:15 +0200 (CEST)

Quoting Javi Roman <javi@esware.com>:

> I need an explanation the operation of the progress bar. I have the
> following program and with himself not to produce the
> wished effect. 

Your program must also update the display. You must add

    while events_pending():
        mainiteration (FALSE)

because updating/changing any widget produces only events. Nothing is
rendered until these events are processed.

Sowatec AG,       CH-8330 Pfäffikon (ZH)
Witzbergstr. 7,   http://www.sowatec.com
Tel: +41-(0)1-952 55 55
Fax: +41-(0)1-952 55 66
Aaron "Optimizer" Digulla, digulla@sowatec.com