Checkbuttons in a Text widget

Diez B. Roggisch deets at nospam.web.de
Fri Feb 17 11:18:22 EST 2006


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?

Maybe you can generate HTML and render that using a embedded browser? This
of course depends heavily on your system.

Diez



More information about the Python-list mailing list