... | ... | @@ -60,6 +60,13 @@ proxy = Gio.DBusProxy.new_sync(bus, Gio.DBusProxyFlags.NONE, None, 'org.freedesk |
|
|
res = proxy.call_sync('Introspect', None, Gio.DBusCallFlags.NO_AUTO_START, 500, None)
|
|
|
```
|
|
|
|
|
|
## Notes on dbus module examples
|
|
|
|
|
|
The [example-service.py](https://cgit.freedesktop.org/dbus/dbus-python/tree/examples/example-service.py) example defines a name on the bus of `com.example.SampleService` but defines a path of `/SomeObject`, which is unusual. It means that you need to, for example, inspect it like this:
|
|
|
```
|
|
|
gdbus introspect --session --dest com.example.SampleService --object-path /SomeObject
|
|
|
```
|
|
|
|
|
|
## References
|
|
|
|
|
|
* https://dbus.freedesktop.org/doc/dbus-python/tutorial.html
|
... | ... | |