Method execution dialog: Confusion with GVariant text format
GVariant has a documented text format that can be read and written with GVariant.parse()
and GVariant.print()
. However, D-Feet uses Python data types and eval()
/str()
instead. This confused me because I kept trying to use GVariant strings I'd copied from elsewhere and they gave me poorly-explained syntax errors. In particular, using <>
fails, instead you must use GLib.Variant()
.
It should either be clearer that the "Method Input" box expects Python data, or it should use GVariant text instead.