... | ... | @@ -42,9 +42,13 @@ iface.EnumerateDevices() |
|
|
This is how you call the same method using `gdbus`:
|
|
|
|
|
|
``` bash
|
|
|
gdbus call --system --dest org.freedesktop.UPower --object-path /org/freedesktop/UPower --method org.freedesktop.UPower.EnumerateDevices
|
|
|
gdbus call --system --dest org.freedesktop.UPower --object-path /org/freedesktop/UPower --method org.freedesktop.DBus.Introspectable.Introspect
|
|
|
```
|
|
|
|
|
|
You can also introspect with `gdbus` using a method call instead of the `introspect` command:
|
|
|
``` bash
|
|
|
gdbus call --system --dest
|
|
|
|
|
|
## Using Gio
|
|
|
|
|
|
|
... | ... | |