| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.GObject.Objects.ParamSpecVariant
Contents
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
- newtype ParamSpecVariant = ParamSpecVariant (ManagedPtr ParamSpecVariant)
- class (BoxedPtr o, TypedObject o, IsDescendantOf ParamSpecVariant o) => IsParamSpecVariant o
- toParamSpecVariant :: (MonadIO m, IsParamSpecVariant o) => o -> m ParamSpecVariant
- type family ResolveParamSpecVariantMethod (t :: Symbol) o where ...
Exported types
newtype ParamSpecVariant Source #
Memory-managed wrapper type.
Constructors
| ParamSpecVariant (ManagedPtr ParamSpecVariant) |
Instances
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
| (BoxedPtr o, TypedObject o, IsDescendantOf ParamSpecVariant o) => IsParamSpecVariant o Source # | |
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
Click to display all available methods, including inherited ones
Methods
Getters
getBlurb, getDefaultValue, getName, getNameQuark, getNick, getQdata, getRedirectTarget.
Setters
type family ResolveParamSpecVariantMethod (t :: Symbol) o where ... Source #
Equations
| ResolveParamSpecVariantMethod "sink" o = ParamSpecSinkMethodInfo | |
| ResolveParamSpecVariantMethod "stealQdata" o = ParamSpecStealQdataMethodInfo | |
| ResolveParamSpecVariantMethod "getBlurb" o = ParamSpecGetBlurbMethodInfo | |
| ResolveParamSpecVariantMethod "getDefaultValue" o = ParamSpecGetDefaultValueMethodInfo | |
| ResolveParamSpecVariantMethod "getName" o = ParamSpecGetNameMethodInfo | |
| ResolveParamSpecVariantMethod "getNameQuark" o = ParamSpecGetNameQuarkMethodInfo | |
| ResolveParamSpecVariantMethod "getNick" o = ParamSpecGetNickMethodInfo | |
| ResolveParamSpecVariantMethod "getQdata" o = ParamSpecGetQdataMethodInfo | |
| ResolveParamSpecVariantMethod "getRedirectTarget" o = ParamSpecGetRedirectTargetMethodInfo | |
| ResolveParamSpecVariantMethod "setQdata" o = ParamSpecSetQdataMethodInfo | |
| ResolveParamSpecVariantMethod l o = MethodResolutionFailed l o :: Type |