Re: Using progress bar without timeout

2005-05-11 Thread stian
> I run the above C++ code from python by clicking a button. The problem > is that when I print the percentage from the python side, it works > fine, but when I call the pulse() method for ProgressBar, nothing gets > updated on my GUI. Do I have to do anything else with the pbar object > to make it

Using progress bar without timeout

2005-05-10 Thread Thierry Lam
My python file(progressbar.py) looks like the following: pbar = gtk.ProgressBar() def updateBar(percentage):     print percentage     pbar.pulse() class ProgressBar:     def __init__(self):         # other gui codes         align.add(pbar)         pbar.show() My C++ codes loo