Amit Finkler wrote: > > > > set_range_rod.add_command( label = "OFF", command = setrange_rod(0)) > > >
After searching the 'net a bit, I found the solution: a lambda wrapper (note the year...) http://mail.python.org/pipermail/python-list/2000-August/046867.html This calls for another question: How long do you think it is reasonable to search the 'net for a solution before bothering mailing lists with a problem which has a simple and known solution? Amit. -- View this message in context: http://www.nabble.com/running-a-command-with-input-from-a-widget-tp16703386p16716882.html Sent from the Python - tkinter-discuss mailing list archive at Nabble.com. _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss