Timothy Smith wrote:
> is it possible to mke a progress bar for queries? say i have a query 
> that will take 20 seconds, i'd like to give some feed back to users on 
> how long this will take.

it is strictly impossible to predict that cause of network load, server 
load, query complexity ....

i recommend you put an activity widget, something moving (ie throbber in 
wxPython) while waiting for the result (like the rotating circle in 
firefox).

once query is finished stop your moving stuff, so the user knows it's 
completed.

So you don't need a progress bar, but an activity widget. in gtk, i saw 
that progress bar could be put in activity mode.

And don't forget to add a timeout ...

François
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to