tkinter: wait_variable
Bob van der Poel
bvdpoel at uniserve.com
Wed Jun 14 21:17:10 EDT 2000
How does wait_variable() work? I've got the following in a class:
__marked = []
....
def mark(self):
a callback to mark certain items
self.__marked.append(x)
def wait(self, root):
root.wait_variable(self.__marked)
return self.__marked
and I call it, after setting up,etc:
print myclass.wait(root)
However, it never seems to return. With test print statements I have
determined that my __marked variable is being updated...but
wait_variable() doesn't seem to sense it.
--
__
/ ) / Bob van der Poel
/--< ____/__ bvdpoel at uniserve.com
/___/_(_) /_) http://users.uniserve.com/~bvdpoel
More information about the Python-list
mailing list