Tkinter from Vis. BASIC
Terrance N. Phillip
mediocre_person at hotmail.com
Sat Nov 19 19:54:04 CET 2005
jmdeschamps at gmail.com wrote:
>>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 know of an update_idletask() method, look it up in the tkinter doc to
> see if that's what you need!
Thanks. I did a dir(label_object) and saw update() and
update_idletasks(). updeate() seems to do the trick.
More information about the Python-list