[maemo-developers] [maemo-developers] Help on how to attach a non gtk+/hildon app to D-Bus
From: Graham Cobb g+770 at cobb.uk.netDate: Wed Jan 10 23:03:15 EET 2007
- Previous message: [maemo-developers] Help on how to attach a non gtk+/hildon app to D-Bus
- Next message: [maemo-developers] localization issue on maemo 3.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wednesday 10 January 2007 16:33, Tomas wrote: > Where can we get an exemple on how to write a little C script to listen > D-Bus signals? Search the mailing list archives for any of dbus-monitor, dbus-s or dbus-scripts -- all three do what you need (and are variants of the same program). Do not forget you need to monitor the system dbus in order to get connectivity signals. Note that, as the earlier reply pointed out, this code does make use of the gtk main loop. Alternatively, install my dbus-scripts package and use that to call your code any way you want when the signals happen. Graham
- Previous message: [maemo-developers] Help on how to attach a non gtk+/hildon app to D-Bus
- Next message: [maemo-developers] localization issue on maemo 3.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]