Variant.this

Constructs a new serialised-mode #GVariant instance. This is the inner interface for creation of new serialised values that gets called from various functions in gvariant.c.

A reference is taken on @bytes.

Parameters

type VariantType

a #GVariantType

bytes Bytes

a #GBytes

trusted bool

if the contents of @bytes are trusted

Return Value

a new #GVariant with a floating reference

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.36