From: John R. <jr...@ce...> - 2012-07-23 14:51:59
|
On Jul 23, 2012, at 7:18 AM, Doug Blank wrote: > On Sun, Jul 22, 2012 at 5:46 PM, Benny Malengier > <ben...@gm...> wrote: >> >> >> I have been looking at >> http://developer.gnome.org/gtk3/3.3/GtkApplication.html >> Seems good to me. I do like the fact we can run multiple Gramps instances >> (looking at different trees), not sure what "application uniqueness" means, >> hopefully that is then still possible. > > Application uniqueness might mean that it uses an already running > version of the app, if you try to open another file associated with > it. > > I tried to do this cross-platform recently on another project, and it > was a real pain (looking through processes, message passing, etc.) > > It would be nice to have a global app which could have multiple trees > opened at the same time. For example, some of the diff-patch-merge > tools I'm working on could benefit from such a use. Moving people > between trees would be very useful. Yup, that's what application uniqueness means. As I noted in my reply to Benny, it's optional. Allowing multiple documents usually requires a couple of extra layers of abstraction so that the application can keep track of which one it's talking to. I'm not familiar enough with Gramps's backend to know how hard that would be, but I'll observe that unlike some toolkits, Gtk/Glib/Gio doesn't offer a library for handling the details. Regards, John Ralls |