Samuel, you can use lambda for this purpose.Here's how you would
use lambda in a menu to specify arguments to pass to a callback
method:
command = lambda self=self, viewer=viewer:
self.open_pw_display(viewer, self.pwDisplays[viewer])
Note that you have to pass in a reference to the class you
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 call