VariantType
Description:
Creates a new [type@GLib.
VariantType] corresponding to the type string given by type_string.
It is appropriate to call [method@GLib.VariantType.free] on the return value.
It is a programmer error to call this function with an invalid type string. Use [func@GLib.VariantType.string_is_valid] if you are unsure.
Parameters:
| type_string |
a valid [GVariant type string](./struct.VariantType.html#gvariant-type-strings) |
Returns:
|
a new [type@GLib.VariantType] |