GParamSpecVariant

A #GParamSpec derived structure that contains the meta data for #GVariant properties.

When comparing values with gobject.global.paramValuesCmp, scalar values with the same type will be compared with glib.variant.VariantG.compare. Other non-null variants will be checked for equality with glib.variant.VariantG.equal, and their sort order is otherwise undefined. null is ordered before non-null variants. Two null values compare equal.

Members

Variables

defaultValue
VariantC* defaultValue;

a #GVariant, or null

padding
void*[4] padding;
parentInstance
GParamSpec parentInstance;

private #GParamSpec portion

type
GVariantType* type;

a #GVariantType, or null