It appears i was looking in the wrong place for info on progressbar.
I have it working now, but still have a question.
For updates (bar moves forward) there seem to be 2 possibilities:
a) progbar.config(value= 12345)
or
b) use a kind of stringvar() (root, ...,...,variable = myVar, ...)
I collect the update values first in a list + validate them.
The simplest update would be alternative (a):
I can throw in a time.sleep(...), and also a root.update(). This does the job.
But is this the best way? Should i investigate alternative (b) in some way?
thx,
Paul
I have it working now, but still have a question.
For updates (bar moves forward) there seem to be 2 possibilities:
a) progbar.config(value= 12345)
or
b) use a kind of stringvar() (root, ...,...,variable = myVar, ...)
I collect the update values first in a list + validate them.
The simplest update would be alternative (a):
v = [100,200,300] for x in v: progBar.config(value=x)But this goes too fast, i want it to move "slowly". like a real progressbar.
I can throw in a time.sleep(...), and also a root.update(). This does the job.
But is this the best way? Should i investigate alternative (b) in some way?
thx,
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.