Re: Checkbuttons in a Text widget

2006-02-17 Thread Lou G
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

Re: Checkbuttons in a Text widget

2006-02-17 Thread Carsten Haese
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)

Re: Checkbuttons in a Text widget

2006-02-17 Thread Diez B. Roggisch
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

Re: Checkbuttons in a Text widget

2006-02-17 Thread bruno at modulix
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

Checkbuttons in a Text widget

2006-02-17 Thread Lou G
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