VariantType.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.
this(string typeString)

Creates a new #GVariantType corresponding to the type string given by type_string. It is appropriate to call glib.variant_type.VariantType.free on the return value.

It is a programmer error to call this function with an invalid type string. Use glib.variant_type.VariantType.stringIsValid if you are unsure.

Parameters

typeStringa valid GVariant type string

Returns

a new #GVariantType