[Tkinter-discuss] Recognizing buttons

Guido Carballo-Guerrero charras at me.com
Sun Aug 15 04:06:41 CEST 2010


Is it possible to have a set of buttons, all calling to the same function, recognize which of the buttons was the one that call the function? 

'Cause what I want to do, is create a set of buttons, where I will not know how many buttons will be created, that will depend on the input of the user. Once the user have this, he will click one of those buttons, and depending on which button was press, the program will erase that part of the input that the operator gave.


Guido Carballo

More information about the Tkinter-discuss mailing list