VariantType.newMaybe

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

It is appropriate to call free() on the return value.

class VariantType
static
newMaybe

Parameters

element VariantType

a VariantType

Return: a new maybe VariantType

Since 2.24

Throws

ConstructionException GTK+ fails to create the object.