Tkinter and PMW - dynamic labels

uri bushey urbushey at
Thu Jul 29 21:36:17 CEST 2004

Is there an easy way to have a label read from a variable, and update 
itself when the variable is changed?

I have a dialogue that asks for a name, and a label that displays the 
name that is placed in a variable.

I have the label, and I have a Python megawidget (pmw) PromptDialog that 
gets a value from the user. I would like that value to update the label 
- is there a way to do that without creating and destroying the label in 
a function that is called every time the PromptDialog is called?


More information about the Python-list mailing list