gi-gobject
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.GObject.Structs.ObjectConstructParam

Description

The GObjectConstructParam struct is an auxiliary structure used to hand ParamSpec/tValue pairs to the constructor of a ObjectClass.

Synopsis

Exported types

newtype ObjectConstructParam Source #

Memory-managed wrapper type.

Instances

Instances details
Eq ObjectConstructParam Source # 
Instance details

Defined in GI.GObject.Structs.ObjectConstructParam

BoxedPtr ObjectConstructParam Source # 
Instance details

Defined in GI.GObject.Structs.ObjectConstructParam

CallocPtr ObjectConstructParam Source # 
Instance details

Defined in GI.GObject.Structs.ObjectConstructParam

ManagedPtrNewtype ObjectConstructParam Source # 
Instance details

Defined in GI.GObject.Structs.ObjectConstructParam

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

Defined in GI.GObject.Structs.ObjectConstructParam

HasAttributeList ObjectConstructParam Source # 
Instance details

Defined in GI.GObject.Structs.ObjectConstructParam

(info ~ ResolveObjectConstructParamMethod t ObjectConstructParam, OverloadedMethod info ObjectConstructParam p, HasField t ObjectConstructParam p) => HasField (t :: Symbol) ObjectConstructParam (p :: Type) Source # 
Instance details

Defined in GI.GObject.Structs.ObjectConstructParam

(info ~ ResolveObjectConstructParamMethod t ObjectConstructParam, OverloadedMethodInfo info ObjectConstructParam) => IsLabel t (MethodProxy info ObjectConstructParam) Source # 
Instance details

Defined in GI.GObject.Structs.ObjectConstructParam

(info ~ ResolveObjectConstructParamMethod t ObjectConstructParam, OverloadedMethod info ObjectConstructParam p) => IsLabel t (ObjectConstructParam -> p) Source # 
Instance details

Defined in GI.GObject.Structs.ObjectConstructParam

type AttributeList ObjectConstructParam Source # 
Instance details

Defined in GI.GObject.Structs.ObjectConstructParam

newZeroObjectConstructParam :: MonadIO m => m ObjectConstructParam Source #

Construct a ObjectConstructParam struct initialized to zero.

Methods

Properties

pspec

the ParamSpec of the construct parameter

clearObjectConstructParamPspec :: MonadIO m => ObjectConstructParam -> m () Source #

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

clear #pspec

getObjectConstructParamPspec :: MonadIO m => ObjectConstructParam -> m (Maybe GParamSpec) Source #

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

get objectConstructParam #pspec

setObjectConstructParamPspec :: MonadIO m => ObjectConstructParam -> Ptr GParamSpec -> m () Source #

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

set objectConstructParam [ #pspec := value ]

value

the value to set the parameter to

clearObjectConstructParamValue :: MonadIO m => ObjectConstructParam -> m () Source #

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

clear #value

getObjectConstructParamValue :: MonadIO m => ObjectConstructParam -> m (Maybe GValue) Source #

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

get objectConstructParam #value

setObjectConstructParamValue :: MonadIO m => ObjectConstructParam -> Ptr GValue -> m () Source #

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

set objectConstructParam [ #value := value ]