Re: is glib too bloated?



On Tue, 2007-05-01 at 12:10 -0500, Hans Petter Jansson wrote:
> On Mon, 2007-04-23 at 17:03 +0100, Peter Clifton wrote:
> 
> > I've found myself wanting GObject derived GList. The idea is to have a
> > "list of things with some GType", and make the API which modifies that
> > list emit "changed", "deleted", "inserted" signals, etc. I coded a
> > GObject derived class to do most of this.
> > 
> > One thing missing with GList is type safety of course, but if you want,
> > you can add run-time type safety with a class around it.
> 
> That sounds a bit like you want an MVC data model in GLib. For instance,
> we could move GtkTreeModel and its associated model parts down. I've
> been wanting that for a while now, personally.
> 
/me too

that would make libgda, for instance, not have its own model classes, it
could use glib's
-- 
Rodrigo Moya <rodrigo gnome-db org>




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