Tkinter from Vis. BASIC
Terrance N. Phillip
mediocre_person at hotmail.com
Sat Nov 19 16:04:44 CET 2005
In VB, an easy way I indicate progress is something like
do while <some process is not met>
lblNotify.foreground = randomcolor
I want to do the same thing in Python/Tkinter:
# Wait for network to recognize the workstation:
while os.system("slist") != 0:
self.notify["fg"] = randcolor()
# how do I refresh label l3 at this point?
I've tried self.notify.grid() (I'm using the grid geometry manager
throughout), but that didn't work, and there is no redraw() or refresh()
method that I can see.
More information about the Python-list