GObject.ParamSpecVariant

g GObject.ParamSpec GObject.ParamSpec GObject.ParamSpecVariant GObject.ParamSpecVariant GObject.ParamSpec->GObject.ParamSpecVariant

Subclasses:

None

Methods

Inherited:

GObject.ParamSpec (11)

Virtual Methods

Inherited:

GObject.ParamSpec (5)

Fields

Inherited:

Name

Type

Access

Description

default_value

GLib.Variant

r

a GLib.Variant, or None

padding

[object]

r

parent_instance

GObject.ParamSpec

r

private GObject.ParamSpec portion

type

GLib.VariantType

r

a GLib.VariantType, or None

Class Details

class GObject.ParamSpecVariant
Bases:

GObject.ParamSpec

Abstract:

No

A GObject.ParamSpec derived structure that contains the meta data for GLib.Variant properties.

When comparing values with GObject.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.

New in version 2.26.