Windows-style splitter window
Robin Dunn
robin at alldunn.com
Tue Oct 31 12:22:07 PST 2006
Lee Merrill wrote:
> Hi everyone,
> I was wondering if the wx.gizmos.DynamicSashWindow can be made to
> work with (say) a wx.ListCtrl window, I need multiple views into a
> single window, yet the ListCtrl doesn't seem to have a "share-the-data"
> setup like the StyledTextCtrl class. Or maybe the MultiSplit class would
> provide such a splitter instead? But I can't find documentation or
> sample usage on this class...
If you use the wx.ListCtrl in virtual mode then it calls overridden
methods to fetch the data items as it needs them for display. At that
point it is very simple to delegate the fetching of the data from
multiple list ctrls to a common data model object.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wx-users
mailing list