Does this work - does the "command=" parameter allow the function
value to contain parameters too? If so, it would solve the problem
easily!

--- 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

Reply via email to