Dynamically changing button text in python

marijuanated at gmail.com marijuanated at gmail.com
Sun Jan 15 18:23:00 CET 2006


Thank you very much.I had actually misinterpreted the "textvariable"
property for some kind of "storage for each Button". I am actually
developing an app where multiple buttons have a single event handler.So
i thought the "textvariable" property might be used to store some info
about each of the Button so that the handler can differentiate between
the callers by examining the property.Now i achieved similar
functionality with callbacks because button command handlers dont
receive any additional arguments.




More information about the Python-list mailing list