Quoting David Hampton <[EMAIL PROTECTED]>:
On Tue, 2006-02-21 at 12:27 -0500, Derek Atkins wrote:
Except qof is glib-only.. Is GnomeProgram in glib or gobject?
I suspect we could "pass down" a "global" gobject reference into
qof for the 'global' events..
Neither. Its in gnome, but its derived from a GObject so any code
linked against the gobject library will suport it.
Yes, but how does libqof gain access to that? At that point we might
as well just have:
void qof_event_register_base(GObject*);
And let the application deal..
I need to think about how that would work. Or perhaps we can make
global events go to the QofSession? *ponders*
Then you're back to multiple models for events. That is, unless the
session becomes an object derived from GObject.
Well, I think the point was that every Qof object would derive from
gobject. At least that's what I had in mind. So, yes, a QofSession
would be derived from GObject. The only remaining question is whether
we would want cross-session events, or if we need an event when we
create a new session?
Again, I think we need to really think hard about how we want events to
work. Do we want events passed up the stack? How do we make sure that
a signal handler doesn't eat a signal?
David
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
[EMAIL PROTECTED] PGP key available
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel