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). I'm uncertain as to > the correct way to get these into the Text widget. I've tried > text.insert and it doesn't seem to do the job. Help?
Does it have to be a text widget? wxWidgets has a wxCheckListBox class that does precisely what you need, but it's not a text widget. HTH, Carsten. -- http://mail.python.org/mailman/listinfo/python-list