gi-gobject-2.0.9: GObject bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GObject.Structs.ParamSpecTypeInfo

Contents

Description

This structure is used to provide the type system with the information required to initialize and destruct (finalize) a parameter's class and instances thereof. The initialized structure is passed to the g_param_type_register_static() The type system will perform a deep copy of this structure, so its memory does not need to be persistent across invocation of g_param_type_register_static().

Synopsis

Exported types

newtype ParamSpecTypeInfo Source #

Constructors

ParamSpecTypeInfo (ManagedPtr ParamSpecTypeInfo) 

Instances

WrappedPtr ParamSpecTypeInfo Source # 
(~) AttrOpTag tag AttrSet => Constructible ParamSpecTypeInfo tag Source # 

Methods

new :: MonadIO m => (ManagedPtr ParamSpecTypeInfo -> ParamSpecTypeInfo) -> [AttrOp ParamSpecTypeInfo tag] -> m ParamSpecTypeInfo

((~) * info (ResolveParamSpecTypeInfoMethod t ParamSpecTypeInfo), MethodInfo * info ParamSpecTypeInfo p) => IsLabel t (ParamSpecTypeInfo -> p) Source # 
((~) * info (ResolveParamSpecTypeInfoMethod t ParamSpecTypeInfo), MethodInfo * info ParamSpecTypeInfo p) => IsLabelProxy t (ParamSpecTypeInfo -> p) Source # 
HasAttributeList * ParamSpecTypeInfo Source # 
type AttributeList ParamSpecTypeInfo Source # 
type AttributeList ParamSpecTypeInfo

newZeroParamSpecTypeInfo :: MonadIO m => m ParamSpecTypeInfo Source #

Construct a ParamSpecTypeInfo struct initialized to zero.

Properties

finalize

paramSpecTypeInfo_finalize :: AttrLabelProxy "finalize" Source #

instanceInit

paramSpecTypeInfo_instanceInit :: AttrLabelProxy "instanceInit" Source #

instanceSize

paramSpecTypeInfo_instanceSize :: AttrLabelProxy "instanceSize" Source #

nPreallocs

paramSpecTypeInfo_nPreallocs :: AttrLabelProxy "nPreallocs" Source #

valueSetDefault

paramSpecTypeInfo_valueSetDefault :: AttrLabelProxy "valueSetDefault" Source #

valueType

paramSpecTypeInfo_valueType :: AttrLabelProxy "valueType" Source #

valueValidate

paramSpecTypeInfo_valueValidate :: AttrLabelProxy "valueValidate" Source #

valuesCmp

paramSpecTypeInfo_valuesCmp :: AttrLabelProxy "valuesCmp" Source #