Creates a new glib.VariantType corresponding to the type string given by type_string. It is appropriate to call Variant.typeFree on the return value.
It is a programmer error to call this function with an invalid type string. Use Variant.typeStringIsValid if you are unsure.
a valid GVariant type string
a new glib.VariantType
ConstructionException GTK+ fails to create the object.
2.24
Creates a new glib.VariantType corresponding to the type string given by type_string. It is appropriate to call Variant.typeFree on the return value.
It is a programmer error to call this function with an invalid type string. Use Variant.typeStringIsValid if you are unsure.