Variant.print

Pretty-prints value in the format understood by 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 Value

Type: string

a newly-allocated string holding the result.

Meta

Since

2.24