gi-gobject-2.0.26: GObject bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GObject.Structs.TypeQuery

Description

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

Synopsis

Exported types

newtype TypeQuery Source #

Memory-managed wrapper type.

Constructors

TypeQuery (ManagedPtr TypeQuery) 

Instances

Instances details
Eq TypeQuery Source # 
Instance details

Defined in GI.GObject.Structs.TypeQuery

BoxedPtr TypeQuery Source # 
Instance details

Defined in GI.GObject.Structs.TypeQuery

CallocPtr TypeQuery Source # 
Instance details

Defined in GI.GObject.Structs.TypeQuery

ManagedPtrNewtype TypeQuery Source # 
Instance details

Defined in GI.GObject.Structs.TypeQuery

Methods

toManagedPtr :: TypeQuery -> ManagedPtr TypeQuery

tag ~ 'AttrSet => Constructible TypeQuery tag Source # 
Instance details

Defined in GI.GObject.Structs.TypeQuery

Methods

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

newZeroTypeQuery :: MonadIO m => m TypeQuery Source #

Construct a TypeQuery struct initialized to zero.

Methods

Properties

classSize

the size of the class structure

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

Get the value of the “class_size” field. When overloading is enabled, this is equivalent to

get typeQuery #classSize

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

Set the value of the “class_size” field. When overloading is enabled, this is equivalent to

set typeQuery [ #classSize := value ]

instanceSize

the size of the instance structure

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

Get the value of the “instance_size” field. When overloading is enabled, this is equivalent to

get typeQuery #instanceSize

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

Set the value of the “instance_size” field. When overloading is enabled, this is equivalent to

set typeQuery [ #instanceSize := value ]

type

the GType value of the type

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

Get the value of the “type” field. When overloading is enabled, this is equivalent to

get typeQuery #type

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

Set the value of the “type” field. When overloading is enabled, this is equivalent to

set typeQuery [ #type := value ]

typeName

the name of the type

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

Set the value of the “type_name” field to Nothing. When overloading is enabled, this is equivalent to

clear #typeName

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

Get the value of the “type_name” field. When overloading is enabled, this is equivalent to

get typeQuery #typeName

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

Set the value of the “type_name” field. When overloading is enabled, this is equivalent to

set typeQuery [ #typeName := value ]