Hi Rich,
Rich Shepard wrote:
The wxWidgets docs for wx.ListCtrl are pretty thin; we're referred
to an
example that does not exist. I _think_ it's the widget I need, but I
cannot
tell from the information there. Then there's the issue of adding it
below a
wx.FlexGridSizer on a notebook tab.
For each client, I want to display project number, project description,
start date, end date, and revenues. As projects accumulate over time, I'd
like to see these in a scrollable window. My naivety suggests that the
wx.ListCtrl is the appropriate widget. Is it?
Sounds o.k. to me, check out the wxPython demo, in particular under the
Core/Windows control section the ListCtrl (provides support for sorting
of the column by clicking on the header) and/or ListCtrl_virtual if your
list is potentially very large this might be better - but no sorting
support (you will have to sort the data yourself as this list has no
control over it).
Sorry can't help with the wxGlade stuff.
See you
Werner
Designing the layout with wxGlade (which I like more and more as I
learn
where things are hidden -- thank you, Horst!), I have a tabbed
notebook and
one of the tabs contains client information. Now, there is a
wx.FlexGridSizer
on that tab, but it fills only the top half. I would like to place the
wx.ListCtrl beneath it on the same tab, but haven't stumbled across the
proper way to do this. A right-click on the notebook_pane line in the
tree
window brings up a menu, but that contains no option to expand the
widgets
placed on it. Immediately below the wx.FlexGridSizer is the next notebook
pane. How can I insert a second widget on the notebook tab? And, if
this is
documented, please point me to the proper place.
TIA,
Rich
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