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.TypeInstance

Contents

Description

An opaque structure used as the base of all type instances.

Synopsis

Exported types

newtype TypeInstance Source #

Constructors

TypeInstance (ForeignPtr TypeInstance) 

Instances

WrappedPtr TypeInstance Source # 

Methods

wrappedPtrCalloc :: IO (Ptr TypeInstance)

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

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

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

Methods

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

((~) * info (ResolveTypeInstanceMethod t TypeInstance), MethodInfo * info TypeInstance p) => IsLabel t (TypeInstance -> p) Source # 

Methods

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

((~) * info (ResolveTypeInstanceMethod t TypeInstance), MethodInfo * info TypeInstance p) => IsLabelProxy t (TypeInstance -> p) Source # 

Methods

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

type AttributeList TypeInstance Source # 
type AttributeList TypeInstance

newZeroTypeInstance :: MonadIO m => m TypeInstance Source #

Construct a TypeInstance struct initialized to zero.