Mike Steiner wrote: > Does this work - does the "command=" parameter allow the function > value to contain parameters too? If so, it would solve the problem > easily!
the code *calls* the given method, and passes the return value (in this case, an instance of the inner function) to the Button constructor. </F> > --- Martin Franklin <[EMAIL PROTECTED]> wrote: >> [ stuff omitted ] >> for text, external, filename in my_buttons: >> b = Button(self, text=text, command=self.launchit(external, >> filename)) >> b.grid() > > > Michael Steiner > [EMAIL PROTECTED] > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com _______________________________________________ Tkinter-discuss mailing list [email protected] http://mail.python.org/mailman/listinfo/tkinter-discuss
