setVariant

fun setVariant(variant: <Error class: unknown class>? = null)

Set the contents of a variant #GValue to @variant. If the variant is floating, it is consumed.

Since

2.26

Parameters

variant

a #GVariant, or null