TkInter callback - how to ?

bernard bh at cellware.de
Tue Jun 22 10:50:31 CEST 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

bernard




More information about the Python-list mailing list