[Tkinter-discuss] creating widgets generically, with a loop?
Cameron Laird
Cameron at phaseit.net
Wed Jun 21 17:42:41 CEST 2006
On Wed, Jun 21, 2006 at 05:31:31PM +0200, Fredrik Lundh 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.
.
.
.
While I've largely lost track now of who said and/or wants what,
it *is* true, though, that .command can be parametrized, at a
couple of different level, if that's what's required.
More information about the Tkinter-discuss
mailing list