Harlin Seritt wrote:
> Would I do this like:
>
> buttondict = {button1, "name.txt"}
If you want to but I guess the other way round makes more sense. And the
syntax is wrong, its supposed to be
{key : value, ...}
The point is that you can create buttons as much as you want - in a for loop
f
Would I do this like:
buttondict = {button1, "name.txt"}
??
Thanks,
Harlin
--
http://mail.python.org/mailman/listinfo/python-list
Harlin Seritt wrote:
> I am making use of a Checkbutton widget. However, I would like to add
> an option or method "on the fly." For example I would like to bind a
> filename ("filename.txt") to a particular Checkbutton widget so that I
> call it later as:
>
> widget["filename"]
>
> Is this poss