gi-gobject-2.0.2: 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 (ForeignPtr ParamSpecTypeInfo) 

Instances

WrappedPtr ParamSpecTypeInfo Source # 

Methods

wrappedPtrCalloc :: IO (Ptr ParamSpecTypeInfo)

wrappedPtrCopy :: Ptr ParamSpecTypeInfo -> IO (Ptr ParamSpecTypeInfo)

wrappedPtrFree :: Maybe (FunPtr (Ptr ParamSpecTypeInfo -> IO ()))

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

Methods

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

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

Methods

fromLabel :: Proxy# Symbol t -> ParamSpecTypeInfo -> p

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

Methods

fromLabelProxy :: Proxy Symbol t -> ParamSpecTypeInfo -> p

type AttributeList ParamSpecTypeInfo Source # 
type AttributeList ParamSpecTypeInfo

newZeroParamSpecTypeInfo :: MonadIO m => m ParamSpecTypeInfo Source #

Construct a ParamSpecTypeInfo struct initialized to zero.

Properties

InstanceSize

paramSpecTypeInfoInstanceSize :: AttrLabelProxy "instanceSize" Source #

NPreallocs

paramSpecTypeInfoNPreallocs :: AttrLabelProxy "nPreallocs" Source #

ValueType

paramSpecTypeInfoValueType :: AttrLabelProxy "valueType" Source #