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

Contents

Description

A structure holding information for a specific type. It is filled in by the g_type_query() function.

Synopsis

Exported types

newtype TypeQuery Source #

Constructors

TypeQuery (ForeignPtr TypeQuery) 

Instances

WrappedPtr TypeQuery Source # 

Methods

wrappedPtrCalloc :: IO (Ptr TypeQuery)

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

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

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

Methods

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

((~) * info (ResolveTypeQueryMethod t TypeQuery), MethodInfo * info TypeQuery p) => IsLabel t (TypeQuery -> p) Source # 

Methods

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

((~) * info (ResolveTypeQueryMethod t TypeQuery), MethodInfo * info TypeQuery p) => IsLabelProxy t (TypeQuery -> p) Source # 

Methods

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

type AttributeList TypeQuery Source # 
type AttributeList TypeQuery

newZeroTypeQuery :: MonadIO m => m TypeQuery Source #

Construct a TypeQuery struct initialized to zero.

Properties

ClassSize

typeQueryClassSize :: AttrLabelProxy "classSize" Source #

typeQueryReadClassSize :: MonadIO m => TypeQuery -> m Word32 Source #

typeQueryWriteClassSize :: MonadIO m => TypeQuery -> Word32 -> m () Source #

InstanceSize

typeQueryInstanceSize :: AttrLabelProxy "instanceSize" Source #

typeQueryReadInstanceSize :: MonadIO m => TypeQuery -> m Word32 Source #

typeQueryWriteInstanceSize :: MonadIO m => TypeQuery -> Word32 -> m () Source #

Type

typeQueryReadType :: MonadIO m => TypeQuery -> m GType Source #

typeQueryType :: AttrLabelProxy "type" Source #

typeQueryWriteType :: MonadIO m => TypeQuery -> GType -> m () Source #

TypeName

typeQueryClearTypeName :: MonadIO m => TypeQuery -> m () Source #

typeQueryReadTypeName :: MonadIO m => TypeQuery -> m (Maybe Text) Source #

typeQueryTypeName :: AttrLabelProxy "typeName" Source #

typeQueryWriteTypeName :: MonadIO m => TypeQuery -> CString -> m () Source #