Tkinter design problem

Joseph Andrew Knapka jknapka at earthlink.net
Sun Sep 2 20:46:44 EDT 2001


Greg Krohn wrote:
> 
> If you bind your callback it sends back an event argument that has
> the 'widget' attribute. That is the widget that called it.

And if you want to just use the "command" option, pass it
a curried function. There have been several recent threads
on this matter; see for example

<URL:
http://groups.google.com/groups?q=curry+Tkinter&hl=en&group=comp.lang.python.*&safe=off&rnum=3&selm=883789430D7C67FB.FA326A678A0C41A4.D1F2B5C5A5172BAC%40lp.airnews.net>

Oh well, that URL got chopped to bits, but googlegrouping for
"curry Tkinter" will get you there.

Cheers,

-- 
# Joe Knapka
# "You know how many remote castles there are along the
#  gorges? You can't MOVE for remote castles!" - Lu Tze re. Uberwald
# Linux MM docs:
http://home.earthlink.net/~jknapka/linux-mm/vmoutline.html



More information about the Python-list mailing list