Connect to signal in DBUS
Thiago Macieira
thiago at kde.org
Tue Mar 27 14:54:26 PDT 2012
On terça-feira, 27 de março de 2012 21.36.27, ben ayed wiem wrote:
> Hi,
>
> I am looking for a fonction in DBUS that able me to connect to a signal like
> this one that exist in Glib :"dbus_g_proxy_connect_signal" .
There's no such function.
You need to add a match rule[1] yourself, then receive the messages in the
signal filter callback[2].
[1]http://dbus.freedesktop.org/doc/api/html/group__DBusBus.html#ga4eb6401ba014da3dbe3dc4e2a8e5b3ef
[2]http://dbus.freedesktop.org/doc/api/html/group__DBusConnection.html#gae00f581e5487408cb294bf71826aff86
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20120327/dba89cbd/attachment.pgp>
More information about the dbus
mailing list