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

Contents

Description

An opaque structure used as the base of all interface types.

Synopsis

Exported types

newtype TypeInterface Source #

Constructors

TypeInterface (ForeignPtr TypeInterface) 

Instances

WrappedPtr TypeInterface Source # 

Methods

wrappedPtrCalloc :: IO (Ptr TypeInterface)

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

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

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

Methods

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

((~) * info (ResolveTypeInterfaceMethod t TypeInterface), MethodInfo * info TypeInterface p) => IsLabel t (TypeInterface -> p) Source # 

Methods

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

((~) * info (ResolveTypeInterfaceMethod t TypeInterface), MethodInfo * info TypeInterface p) => IsLabelProxy t (TypeInterface -> p) Source # 

Methods

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

((~) * signature (m TypeInterface), MonadIO m) => MethodInfo * TypeInterfacePeekParentMethodInfo TypeInterface signature Source # 

Methods

overloadedMethod :: MethodProxy TypeInterfacePeekParentMethodInfo TypeInterface -> signature -> s

type AttributeList TypeInterface Source # 
type AttributeList TypeInterface

newZeroTypeInterface :: MonadIO m => m TypeInterface Source #

Construct a TypeInterface struct initialized to zero.

Methods

typeInterfaceAddPrerequisite

typeInterfaceAddPrerequisite :: MonadIO m => GType -> GType -> m () Source #

typeInterfacePeek

typeInterfacePeek :: MonadIO m => TypeClass -> GType -> m TypeInterface Source #

typeInterfacePeekParent

data TypeInterfacePeekParentMethodInfo Source #

Instances

((~) * signature (m TypeInterface), MonadIO m) => MethodInfo * TypeInterfacePeekParentMethodInfo TypeInterface signature Source # 

Methods

overloadedMethod :: MethodProxy TypeInterfacePeekParentMethodInfo TypeInterface -> signature -> s

typeInterfacePrerequisites

typeInterfacePrerequisites :: MonadIO m => GType -> m [GType] Source #