On 01/09/14 17:16, Michael O'Donnell wrote:
from Tkinter import Tk, StringVar, Label
top =Tk()
v = StringVar()
Label(top, textvariable=v).pack()
v.set("hello")
top.mainloop()
Thanks for the pointer. The tutorial I was working through did not explain where the StringVar() came from, and showed what I now understand as a code snippet.
_______________________________________________ Tkinter-discuss mailing list [email protected] https://mail.python.org/mailman/listinfo/tkinter-discuss
