Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

D-Bus Send variant via d-feet

Tags:

debugging

dbus

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?

like image 830
powerbar Avatar asked Feb 01 '13 11:02

powerbar


1 Answers

In d-feet 0.3.9 at least, GLib.Variant('b', False) works.

like image 100
ptomato Avatar answered Oct 11 '22 14:10

ptomato