[Tutor] Update a button content on click

ANKUR AGGARWAL coolankur2006 at gmail.com
Tue Feb 15 10:23:02 CET 2011


Hey
I am looking for a method using Tkinter module to update the button on the
click.
Suppose I have a button with "hello" print on it. I want that when i click
on it "hello" got updated with the "hi". New value button should return on
the its click should be "hi". I tried it through event handling but failed
to do so.
Any help would be appreciated.
Thanks In Advance
Ankur Aggarwal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110215/7ea621d0/attachment.html>


More information about the Tutor mailing list