Really? All that just to make a progress bar go and update something in
the main GUI window? Yeesh.
On Fri, 15 Jul 2011 10:20:44 -0700, Sean DiZazzo wrote:
You need a separate thread. Well, you might be able to get the
progressbar to update, but your app will be unresponsive until the
task finishes.
Here's the article I used to
learn: http://uucode.com/texts/pylongopgui/pyguiapp.html [4]
It's a little overly complicated but works very well.
~Sean
On Fri, Jul 15, 2011 at 9:17 AM, Dan Ross wrote:
I'm working on a tkinter gui for an app I made.
I can't seem to get a progressbar to start and stop while a
function runs.
(pseduo-code)
def my_function():
progress_bar.start()
##### do a bunch of stuff #####
progress_bar.stop()
That should work shouldn't it? Or do I need a separate thread?
Thanks all,
Dan
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org [1]
http://mail.python.org/mailman/listinfo/pythonmac-sig [2]
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
[3]
Links:
------
[1] mailto:Pythonmac-SIG@python.org
[2] http://mail.python.org/mailman/listinfo/pythonmac-sig
[3] http://mail.python.org/mailman/options/Pythonmac-SIG
[4] http://uucode.com/texts/pylongopgui/pyguiapp.html
[5] mailto:d...@rosspixelworks.com
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG