putting checkbuttons in a listbox
valen1260 at insightbb.com
Wed Dec 21 00:59:28 CET 2005
I'd like to have a multicolumn listbox, with one column being a list of
items and the other being a list of checkbuttons. The user could check
his "favorites" and then shorten the list to show only the checked items.
I have implemented the MultiListbox at
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52266 . I then
tried attaching the checkbuttons to a listbox object. To get them to
display, I had to pack them, but in packing them, they just disregard
the scrollable listbox and take as much room as needed.
Has anyone implemented anything like this? Is there a way to put
checkbuttons in a fixed-height, scrollable listbox or similar structure?
More information about the Python-list