Re: [gtkmm] TreeView Design
- From: Murray Cumming <murrayc usa net>
- To: Daniel Evison <devison pacificit co nz>
- Cc: gtkmm mailing list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] TreeView Design
- Date: 18 Jul 2002 12:23:20 +0100
On Thu, 2002-07-18 at 12:17, Daniel Evison wrote:
> > Firstly, I'd avoid that and just use ListStore or TreeStore.
> >
> > If I really had to, then I'd do one of these:
> > 1. Keep them in sync, like you say.
> > 2. Derive a new TreeModel. Very difficult. No examples exists.
> > 3. Investigate TreeView::insert_column_with_data_func() to
> > see what it is and whether it's useful.
>
> I'm going to at least look into 2 and 3, since I don't like the idea of
> using ListStore and TreeStore pervasively through my application logic, and
> 1. seems complicated and potentially error prone.
I remember somebody on the list saying that they had derived a
GtkTreeModel that stored it's data in some STL container. maybe a
std::map<>. Maybe you should search the archive.
--
Murray Cumming
murrayc usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]