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 Bu
The problem is once i set the textvariable property of the button,i
cannot change the text.For example,
curButton = Button(root,text="Stop Server",textvariable="this")
curButton.bind("",self.StopServer)
def StopServer(self,event):
curButton["text"] = "Start Server" #this does not wor
Hi all,
I am wondering if i could change a button text dynamically in its
handler.
for example,can we do something like this:
curButton.bind("",self.StopServer)
def StopServer(self,event):
curButton["text"] = "Start Server"
Thanks,
Sundar
--
http://mail.python.org/mailman/listinfo