On Wed, Jun 29, 2011 at 16:49, Maciej Piechotka <[email protected]> wrote: > Requirement of GLib mainloop is not a problem for me. Vala GObject and > libgee AFAIK targets the 'normal desktop' and gtk+ application. I agree as long as we make sure that everything still works even if main loop is not started.
> Hmm. Currently I think signal is the most idiomatic way of handling > them. Maybe there should be something like: > > [Sync] > public signal void my_signal(...); > > The GObject signals have however benefit of integration gtk. > > The text from the bug report (I BCC'ed the author): > > """In an attempt to make gee more useful as a model in MVC patterns it > would need > to have a number of signals added to the interfaces. > > Of the top of my head at least: > > Collection: > "added" > "removed" > - both with a Iterator<G> parameter. > > List: > "sorted" > > map should also take added/removed however IMO it would be better done > through > http://live.gnome.org/Libgee/NewMapInterfaceProposal""" I will just try to add signals and let's see if there is a notable performance regression. regards, Tomaž EDIT: Oops.. sorry. Forgot to send to libgee-list. _______________________________________________ libgee-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/libgee-list
