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.
_______________________________________________
Tkinter-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tkinter-discuss
- [Tkinter-discuss] creating widgets generically, with a loo... Mike Steiner
- Re: [Tkinter-discuss] creating widgets generically, w... Martin Franklin
- Re: [Tkinter-discuss] creating widgets genericall... Mike Steiner
- Re: [Tkinter-discuss] creating widgets generi... Fredrik Lundh
- Re: [Tkinter-discuss] creating widgets ge... Cameron Laird
- Re: [Tkinter-discuss] creating widge... Fredrik Lundh
- Re: [Tkinter-discuss] creating widgets generi... Martin Franklin
- Re: [Tkinter-discuss] creating widgets ge... Mike Steiner
- Re: [Tkinter-discuss] creating widgets generically, w... mkieverpy
- Re: [Tkinter-discuss] creating widgets generically, w... mkieverpy
