source: project/release/4/dbus/trunk/examples/receive-signal.scm @ 25884

Last change on this file since 25884 was 25884, checked in by ecloud, 9 years ago

Removed dbus: prefix; you can add it back like this: (use (prefix dbus dbus:))

File size: 217 bytes
Line 
1(use (prefix dbus dbus:))
2
3(define (signal . parms) (printf "got signal ~s~%" parms))
4
5(define ctxt (dbus:make-context interface: 'language.english path: '/humanity))
6
7(dbus:register-signal-handler ctxt "hey" signal)
Note: See TracBrowser for help on using the repository browser.