GObject.ParamSpecVariant¶
class — extends ParamSpec
A ParamSpec derived structure that contains the meta data for GLib.Variant properties.
When comparing values with param_values_cmp, scalar values with the same
type will be compared with GLib.Variant.compare. Other non-None variants will
be checked for equality with GLib.Variant.equal, and their sort order is
otherwise undefined. None is ordered before non-None variants. Two None
values compare equal.