Variant.print

Pretty-prints @value in the format understood by g_variant_parse().

The format is described here[gvariant-text].

If @type_annotate is %TRUE, then type information is included in the output.

class Variant
string
print

Parameters

typeAnnotate bool

%TRUE if type information should be included in the output

Return: a newly-allocated string holding the result.

Meta

Since

2.24