[python] How can a noob get a simple implementation?
John (J5) Palmieri
johnp at redhat.com
Thu Sep 1 11:08:10 PDT 2005
On Thu, 2005-09-01 at 10:03 -0700, Sean Meiners wrote:
> Shouldn't the decorator be above WindowCreated rather than __init__?
Yep, typo. Sorry about that.
> On Wednesday 31 August 2005 07:28 pm, John (J5) Palmieri wrote:
> > class WindowManager(dbus.service.Object):
> > @dbus.service.signal('org.foo.WindowManagerInterface')
> > def __init__(self, bus_name,
> > object_path='/org/foo/WindowManager'):
> > dbus.service.Object.__init__(self, bus_name, object_path)
> >
> > def WindowCreated(window_name):
> > pass
More information about the dbus
mailing list