createVariant
fn
GVariant * createVariant(T)(T val)Template to create a GVariant from a single D value.
Parameters
T | The type of the value |
val | The value to assign to the new Variant. |
Returns
New variant C instance with floating reference
fn
GVariant * createVariant(T...)(T vals) if (vals.length > 1)Template to create a new tuple GVariant from multiple D values.
Parameters
T | The D types to create the variant from |
vals | The values to assign |
Returns
New variant C instance with floating reference