gi-gobject-2.0.23: GObject bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.GObject.Objects.ParamSpecVariant

Description

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

When comparing values with paramValuesCmp, scalar values with the same type will be compared with variantCompare. Other non-Nothing variants will be checked for equality with variantEqual, and their sort order is otherwise undefined. Nothing is ordered before non-Nothing variants. Two Nothing values compare equal.

Since: 2.26

Synopsis

Exported types

class (BoxedPtr o, TypedObject o, IsDescendantOf ParamSpecVariant o) => IsParamSpecVariant o Source #

Type class for types which can be safely cast to ParamSpecVariant, for instance with toParamSpecVariant.

Instances

Instances details
(BoxedPtr o, TypedObject o, IsDescendantOf ParamSpecVariant o) => IsParamSpecVariant o Source # 
Instance details

Defined in GI.GObject.Objects.ParamSpecVariant

toParamSpecVariant :: (MonadIO m, IsParamSpecVariant o) => o -> m ParamSpecVariant Source #

Cast to ParamSpecVariant, for types for which this is known to be safe. For general casts, use castTo.

Methods

Overloaded methods