Get Button Text

Kevin Doyle doyle at acrossthebigpond.com
Sun Apr 7 19:34:33 EDT 2002


I have code that creates x amount of Buttons on the fly.  Each buttons 
will have a unique Text displayed on it.

I want to be able to get the text vale of the button when it is pressed.

I also want to know is it possible to create just one function and bind 
this one function to all the buttons, and call the function with a 
reference to the button clicked as an argument.

Any help would be great as I am banging my head against a wall trying to 
get this working.

Thanks

Kevin





More information about the Python-list mailing list