Tkinter design problem

Janos Blazi jblazi at hotmail.com
Sun Sep 2 18:13:17 EDT 2001


Suppose I have a table realized az an array of buttons. It seems sensible
that all buttons are bound to the sam callback procedure. But the callback
proc must know which button has been pushed, i.e. the row and the column.
Now of course I could set up a dictionary with the buttons as keys and the
row and the column. But is it the right way of solving this problem? Is
there a simpler solution?

Janos Blazi




-----=  Posted via Newsfeeds.Com, Uncensored Usenet News  =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
 Check out our new Unlimited Server. No Download or Time Limits!
-----==  Over 80,000 Newsgroups - 19 Different Servers!  ==-----



More information about the Python-list mailing list