[python] How can a noob get a simple implementation?
Sean Meiners
sean.meiners at linspireinc.com
Thu Sep 1 10:03:58 PDT 2005
Shouldn't the decorator be above WindowCreated rather than __init__?
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
--
Sean Meiners
sean.meiners at linspireinc.com
Perl - $Just @when->$you ${thought} s/yn/tax/ &couldn\'t %get $worse;
More information about the dbus
mailing list