On Sat, 2006-10-07 at 23:45 -0400, DJ Delorie wrote: > > Until then, we'll keep pestering for the D-Bus patch to go in, even > > if it's only as a Linux & *BSD-only option. > > The problem with dbus isn't just that it's linux and bsd only, but > also that it's GTK only. We really need something more portable, not > just to windows and mac, but to lesstif too. If we can make dbus > portable, great. Until then, we're putting a lot of effort into a > solution that won't work for everyone.
It isn't GTK only, but one language binding for DBUS does use glib (and glib's signal system). It is possible to use the raw, low level "C" API to DBUS, but a lot of the niceties of using a higher level binding are then lost. OTOH, using the Raw C binding (as I started out trying to) does give the advantage of being able to work with Lesstif, etc.. IIRC, you need to add the file descriptor which DBUS uses for comms into the main GUI's poll / select loop to avoid having to poll manually and consume lots of CPU cycles. It is a shame the DBUS people haven't get got a "generic mainloop" binding. Peter _______________________________________________ geda-dev mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
