I use D-Feet D-Bus debugger to investigate some interfaces.
One of them requires a variant
type to be send as an argument (which means that you can send anything).
But I have trouble sending the argument as variant
- normal python syntax would be __import__('dbus').Boolean(0)
for a boolean, but that won't work (Error.InvalidArguement
).
Using variant:boolean:0
doesn't work either.
How to send a arguement as variant
via D-Feet?
In d-feet 0.3.9 at least, GLib.Variant('b', False)
works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With