VariantType.newMaybe

Constructs the type corresponding to a maybe instance containing type type or Nothing.

It is appropriate to call glib.variant_type.VariantType.free on the return value.

Parameters

element glib.variant_type.VariantType

a #GVariantType

Return Value

Type: glib.variant_type.VariantType

a new maybe #GVariantType

Since 2.24