dbus signal

Morten O. Hansen morteoh at chello.no
Sat Jun 17 08:01:26 PDT 2006

Hi there,

I'm trying to write a small program that send out a signal using dbus,
and I have been trying to follow the tutorial at [1], but this is old
and I guess a bit outdated? 

Anyhow, I'm creating a DBusGConnection, and connecting it to the daemon.
Then I'm using a GMainLoop to call send_signal every second, in
send_signal I try to use DBusGMessage to send the signal.. but this is
were it fails, I can't find anything equivelant to
dbus_message_new_signal/dbus_message_append_args for the glib-bindings,
what should I use instead? 

Is the dbus-glib way of sending signals using a proxy? any hints at what
functions I should be looking at? I can probably find out how they works
myself, just need a few pointers :)

Another question I have, do I need to implement a GObject too expose

BTW, this is dbus 0.61 on Debian sid.

If this is the wrong list to post general coding issues regarding dbus,
please tell me, i couldnt find any other lists..


Morten O. Hansen <morteoh at chello.no>

More information about the dbus mailing list