Re: [gtkmm] TreeView Design



On Sat, 2002-07-20 at 09:43, Martin Schulze wrote:
> Am 19.07.2002 19:01 schrieb(en) Jarek Dukat:
> > On Thu, 2002-07-18 at 13:17, Daniel Evison wrote:
> > >
> > > It is possible to separate the dependency.  It seems the main issue
> > comes
> > > down to the fact that the TreeView class requires the data to be in a
> > > certain type of model, and that the information must be copied by value
> > into
> > > that model.  I think it would be better if it could interface with data
> > in
> > > various formats (including standard C++ containers), through functors,
> > > functions, etc.   It seems to me like a simpler approach too (though I
> > don't
> > > understand the inner workings of gtk and its assumptions and
> > constraints).
> > 
> > You are mostly right, but you seem to forget that Gtkmm is just a
> > wrapper around Gtk+. Because of Gtk+ design we can't really do much more
> > than current API does.
> 
> But this shouldn't keep us from supporting Daniel on his way to develop an
> even more general interface within the current solution that fullfills the
> requirements he described!

Feel free to try. It's too late to get into gtkmm2, but nothing is
stopping you from working on Gtk::Experiment::TreeView and making it
available. If it works then it can go into gtkmm3.

-- 
Murray Cumming
murrayc usa net
www.murrayc.com




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