Re: [gtkmm] My own TreeModel



On Wed, 7 May 2003 20:10:52 -0700
darco <darco deepdarc com> wrote:

> Just as a side note... In that thread, I posted my own sample code for 
> a custom TreeModel:
> ftp://ftp.voria.net/pub/customtreestore.tar.gz or
> http://ftp.voria.net/pub/customtreestore.tar.gz
> 

Should this still be avaliable? When I try to connect to the above site the connection times out...

---
Daniel Sundberg
http://sumpan.com

> While that code "works", it has some unnecessary stuff in it. (Such as 
> a lot of the stuff with the "root" node)
> 
> If people think they would find it useful, I can clean it up and 
> comment it out a bit. I've been hammering away at the custom TreeModel 
> in my own program quite a bit since I wrote that, and I now have some 
> better ideas for implementation.
> 
> However, if you are having trouble figuring out where to start, it 
> should still provide a good starting point. Just don't take it as the 
> "ideal" implementation.
> 
> -- darco
> http://www.deepdarc.com/
> 
> On Wednesday, May 7, 2003, at 06:48  PM, Thomas Muldowney wrote:
> 
> > You might find this thread a bit more interesting:
> > http://mail.gnome.org/archives/gtkmm-list/2003-April/msg00253.html
> >
> > --temas
> >
> > On Wed, 2003-05-07 at 18:57, David Vest wrote:
> >> Thanks for the fast reply!
> >>
> >> After searching the lists for a while, I found a thread starting
> >> with this message
> >>
> >> http://mail.gnome.org/archives/gtkmm-list/2002-July/msg00200.html
> >> (which a agree with, especially the last part)
> >>
> >> Is this the thread you were thinking about?
> >> Are there other archives with older messages than June 2002?
> >>
> >>  From what I can find, its not easy nor encouraged to mess with the
> >> models to much. I'll try to split the output in separate "pages"
> >> instead, though it makes the sorting of columns less powerful.
> >>
> >> Thanks
> >>
> >> David
> >>
> >> Den 2003.05.08 00:31 skrev Matthew Walton:
> >>> This was discussed not that long ago, have a look in the list 
> >>> archives
> >>> for some rather useful messages and example code from a couple of
> >>> people.
> >>>
> >>> HTH
> >>>
> >>> Matthew
> >>>
> >>> On Wed, 2003-05-07 at 23:21, David Vest wrote:
> >>>> Hello everyone!
> >>>>
> >>>> I'm thinking about implementing my own TreeModel for a TreeView. The
> >>>
> >>>> reason for this is that I already have lots of data in memory, that
> >>> I
> >>>> don't want to duplicate in the model if I can avoid it. The concept
> >>> is
> >>>> tried and works well by the windows version of the program.
> >>>>
> >>>> I have read all a can find on the net, but havn't found anything
> >>> about
> >>>> what I would really do to make my TreeView be able to access my
> >>> data.
> >>>> On to my questions:
> >>>>
> >>>> - Have this been done before in any OSS project?
> >>>> - I find overridable functions in gtkmm/treemodel.h, is that what I
> >>> am
> >>>> supposed to do?
> >>>> - In the same file it says that it is not easy, why?
> >>>>
> >>>> Thanks
> >>>>
> >>>> David
> >>>> _______________________________________________
> >>>> gtkmm-list mailing list
> >>>> gtkmm-list gnome org
> >>>> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> >>> --
> >>> Matthew Walton <matthew alledora co uk>
> >>>
> >>>
> >> _______________________________________________
> >> gtkmm-list mailing list
> >> gtkmm-list gnome org
> >> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> >
> > _______________________________________________
> > gtkmm-list mailing list
> > gtkmm-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtkmm-list
> >
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]