Checkbuttons in a Text widget

bruno at modulix onurb at xiludom.gro
Fri Feb 17 10:53:41 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.

I really doubt there's a GUI toolkit supporting such a 'feature'. As
it's name implies, a TextBox is meant to edit *text*.

I suppose what you need is a scrollable widget allowing multiple
selection. In most GUI toolkits I'v seen, this is usually done with a
Grid (ie table) widget.


-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"



More information about the Python-list mailing list