[pygtk] (no subject)
Xi Chen
s060982 at student.dtu.dk
Thu Mar 1 21:33:31 WST 2007
Hi there,
I'm developing some applications for nokia 770. I have a time consuming
method which takes roughly tens of seconds, and don't know the accurate
progress for it coz it's a method from third party package. Now I want to
add a progress bar to make user interface more friendly but the problem is
the progress bar doesn't update either fraction or pulse until the task has
been accomplished.. I searched many articles, many ones tell that:
while gtk.events_pending():
gtk.main_iteration()
but it doesn't work for me. It seems the entire application is "dead" once
that big method starts, I couldn't call progress bar update during it's
running.
Any comment is welcome, I'd be very happy if it could help.
Br,
Xi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20070301/b1a6ac35/attachment-0001.htm
More information about the pygtk
mailing list