TkInter callback - how to ?

bernard bh at
Tue Jun 22 04:50:31 EDT 1999

I have an array of buttons (a keypad) all using the same callback
function - is there any way of finding out which button invoked
the callback ? I suppose I am looking for a tcl/tk solution
something like
  -command "myCallback $thisButton"
but tkInter only seems to provide
  -command myCallback

Any help welcome


More information about the Python-list mailing list