Package: glib

Function g-variant-type-new

Lambda List

g-variant-type-new (string)

Arguments

string -- a valid g-variant-type type string

Return Value

A new g-variant-type instance.

Details

Creates a new g-variant-type instance corresponding to the type string given by string. It is appropriate to call the g-variant-type-free function on the return value.

It is a programmer error to call this function with an invalid type string. Use the g-variant-type-string-is-valid function if you are unsure.
 

See also

*2021-10-31