On Mon, 2005-09-26 at 11:25 -0700, Bryce Harrington wrote:
The way the treeview control is designed, it uses a "model" that represents the data you're trying to present in the tree.
We've talked about using treeview controls for the layer dialog, xml editor, extensions manager, preferences, and so forth. Do these things all have the same kind of underlying data structure? Is it going to be feasible to create an abstract model class for all of these?
I've been playing with this for the preferences dialogs, and I don't think anything is needed beyond the abstraction that GTKmm already provides. The one think that I haven't figured out how to do yet is to make a column a SPImage. I don't think that will be too hard once I dig into it though.
--Ted