[Tkinter-discuss] Recognizing buttons
Cameron at phaseit.net
Sun Aug 15 17:39:32 CEST 2010
On Sat, Aug 14, 2010 at 08:06:41PM -0600, Guido Carballo-Guerrero wrote:
> 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.
<URL: http://tkinter.unpythonic.net/wiki/Widgets/Button >
presents multiple techniques to achieve exactly what you
More information about the Tkinter-discuss