Python

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • need a ListCtrl which accepts arbitrary widgets

    0 answers - 1464 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    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

Re: need a ListCtrl which accepts arbitrary widgets


max 4000 letters.
Your nickname that display:
In order to stop the spam: 8 + 8 =
QUESTION ON "Python"

EMSDN.COM