VariantG.print

Pretty-prints value in the format understood by glib.variant.VariantG.parse.

The format is described here[gvariant-text].

If type_annotate is true, then type information is included in the output.

class VariantG
string
print

Parameters

typeAnnotate bool

true if type information should be included in the output

Return Value

Type: string

a newly-allocated string holding the result.