in reply to Need to Update Tk Widgets
Without really digging through the code, let me offer this advice. Having the Entry widgets be tied to a scalar via the textvariable property is the best bet here. It should autoupdate (it does in my apps where I use them that way). Just make sure that when you run the calculation via the button callback that you (in the end) change the value of the referenced scalar to reflect the calculated value. Also another option would be simple reconfiguring the widgets via
and simply manually reassign the value to be displayed in the entry$widget->configure(-property=>'value');
update:Also after perusing the code abit, you might wanna take a look at Listing for 'our' @ Perldoc.com See if you really need our, or rather should just declare them all as my
Hope some of that helps,
|
|---|