[maemo-developers] D-Bus signals in python

From: Anderson Lizardo anderson.lizardo at openbossa.org
Date: Mon Jan 18 15:47:03 EET 2010
On Sat, Jan 16, 2010 at 5:34 AM, Matan Ziv-Av <matan at svgalib.org> wrote:
> can someone please translate this to python for me:
>
> dbus-send --type=signal --session /com/nokia/hildon_desktop
> com.nokia.hildon_desktop.set_state int32:128
>
> I found how to call methods, but sending signals does not appear to work.

Take a look at this:

http://cgit.freedesktop.org/dbus/dbus-python/tree/examples/example-signal-emitter.py

Hope that helps,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
More information about the maemo-developers mailing list