VariantType.this

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.

  1. this(void* ptr, Flag!"Take" take)
  2. this(string typeString)
    class VariantType
    this
    (
    string typeString
    )

Parameters

typeString string

a valid GVariant type string

Return Value

a new #GVariantType