For anyone who might be able to use this technique:
I kept playing around and got it to work:
for i in nameList:
btnText = name[i]
self.sv = []
cb = []
cb.append(Checkbutton(self.datalist, text=btnText,
variable=self.sv[i], background='white', font=("Courier", 10)))
sel
On Fri, 2006-02-17 at 10:28, Lou G wrote:
> I'm trying to show a number of Checkbuttons (each with associated text
> based on a list of names) inside a y-scrollable Text widget like so:
>
> [ ] Bob
> [ ] Carol
> [ ] Ted
> [ ] Alice
> etc.
> etc.
>
> There may be quite a few (as many as 100 or so)
Lou G wrote:
> I'm trying to show a number of Checkbuttons (each with associated text
> based on a list of names) inside a y-scrollable Text widget like so:
>
> [ ] Bob
> [ ] Carol
> [ ] Ted
> [ ] Alice
> etc.
> etc.
>
> There may be quite a few (as many as 100 or so). I'm uncertain as to
> the
Lou G wrote:
> I'm trying to show a number of Checkbuttons (each with associated text
> based on a list of names) inside a y-scrollable Text widget like so:
>
> [ ] Bob
> [ ] Carol
> [ ] Ted
> [ ] Alice
> etc.
> etc.
I really doubt there's a GUI toolkit supporting such a 'feature'. As
it's name i
I'm trying to show a number of Checkbuttons (each with associated text
based on a list of names) inside a y-scrollable Text widget like so:
[ ] Bob
[ ] Carol
[ ] Ted
[ ] Alice
etc.
etc.
There may be quite a few (as many as 100 or so). I'm uncertain as to
the correct way to get these into the Text