Hello David,
I need a wxPython or wx widget that behaves like ListCtrl,
but can have arbitrary widgets (eg, buttons, progress bars
etc) placed into the cells.
Does such a thing exist?
I've looked through the wxPython wiki, but can't find anything.
I don't think such widget currently exists in wxPython. There will be (shortly?!?) a wxListView that will allow you to put progressbars and comboboxes (and maybe something else, but I am not sure) in it. I suppose it will be available in 2.7. There is something in the demo, that uses checkboxes. I wrote something like that, a ListCtrl that accepts whatever non-toplevel widget in its cells, similar to CustomTreeCtrl. However, noting that it is based on the fantastically messed up wxListCtrl API, I don't think I will share this one. You may want to try to hack CustomTreeCtrl to get what you need:
#customtree
But I don't know how easy it will be to do it. If you find something useful, please contribute it back ;-)
Andrea.
Andrea Gavana (gavana (AT) kpo (DOT) kz)
Reservoir Engineer
KPDL
4, Millbank
SW1P 3JA London
Direct Tel: +44 (0) 20 717 08936
Mobile Tel: +44 (0) 77 487 70534
Fax: +44 (0) 20 717 08900
Web:
To unsubscribe, e-mail: wxPython-users-unsubscribe (AT) lists (DOT) wxwidgets.org
For additional commands, e-mail: wxPython-users-help (AT) lists (DOT) wxwidgets.org