Hi, guys: I am not a newbie of python, but I am a kind of newbie of Tkinter. Currently I am trying to develop a platform independent GUI by Tkinter and Tix. I have many CheckButtons, but want use the same callback function for all of them. To to this, I need to pass parameter to callback to indicate which CheckButton is clicked. But I found that I can not pass parameters to callback function in Tkinter. I spent some time to google this issue, found some guy use a "callback shim class" to do such job. See here. But I don't like it, it is too complicated for me. Is there any other simple method to pass parameters to widget's callback function? Thanks and Regards Samuel Yin |
_______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss