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?
Hi Guido,
> 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?
One solution to your problem, using lambda to define the function call.
from Tkinter import *
def killBut(but):
but.pack_forget()
tk
Hello;
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 th