Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
GI.GObject.Unions.TypeCValue
Description
A union holding one collected value.
- newtype TypeCValue = TypeCValue (ManagedPtr TypeCValue)
- newZeroTypeCValue :: MonadIO m => m TypeCValue
- noTypeCValue :: Maybe TypeCValue
- getTypeCValueVDouble :: MonadIO m => TypeCValue -> m Double
- setTypeCValueVDouble :: MonadIO m => TypeCValue -> Double -> m ()
- typeCValue_vDouble :: AttrLabelProxy "vDouble"
- getTypeCValueVInt :: MonadIO m => TypeCValue -> m Int32
- setTypeCValueVInt :: MonadIO m => TypeCValue -> Int32 -> m ()
- typeCValue_vInt :: AttrLabelProxy "vInt"
- getTypeCValueVInt64 :: MonadIO m => TypeCValue -> m Int64
- setTypeCValueVInt64 :: MonadIO m => TypeCValue -> Int64 -> m ()
- typeCValue_vInt64 :: AttrLabelProxy "vInt64"
- getTypeCValueVLong :: MonadIO m => TypeCValue -> m CLong
- setTypeCValueVLong :: MonadIO m => TypeCValue -> CLong -> m ()
- typeCValue_vLong :: AttrLabelProxy "vLong"
- clearTypeCValueVPointer :: MonadIO m => TypeCValue -> m ()
- getTypeCValueVPointer :: MonadIO m => TypeCValue -> m (Ptr ())
- setTypeCValueVPointer :: MonadIO m => TypeCValue -> Ptr () -> m ()
- typeCValue_vPointer :: AttrLabelProxy "vPointer"
Exported types
newtype TypeCValue #
Constructors
TypeCValue (ManagedPtr TypeCValue) |
Instances
WrappedPtr TypeCValue # | |
(~) AttrOpTag tag AttrSet => Constructible TypeCValue tag # | |
((~) * info (ResolveTypeCValueMethod t TypeCValue), MethodInfo * info TypeCValue p) => IsLabel t (TypeCValue -> p) # | |
((~) * info (ResolveTypeCValueMethod t TypeCValue), MethodInfo * info TypeCValue p) => IsLabelProxy t (TypeCValue -> p) # | |
HasAttributeList * TypeCValue # | |
type AttributeList TypeCValue # | |
newZeroTypeCValue :: MonadIO m => m TypeCValue #
Construct a TypeCValue
struct initialized to zero.
Properties
vDouble
getTypeCValueVDouble :: MonadIO m => TypeCValue -> m Double #
setTypeCValueVDouble :: MonadIO m => TypeCValue -> Double -> m () #
typeCValue_vDouble :: AttrLabelProxy "vDouble" #
vInt
getTypeCValueVInt :: MonadIO m => TypeCValue -> m Int32 #
setTypeCValueVInt :: MonadIO m => TypeCValue -> Int32 -> m () #
typeCValue_vInt :: AttrLabelProxy "vInt" #
vInt64
getTypeCValueVInt64 :: MonadIO m => TypeCValue -> m Int64 #
setTypeCValueVInt64 :: MonadIO m => TypeCValue -> Int64 -> m () #
typeCValue_vInt64 :: AttrLabelProxy "vInt64" #
vLong
getTypeCValueVLong :: MonadIO m => TypeCValue -> m CLong #
setTypeCValueVLong :: MonadIO m => TypeCValue -> CLong -> m () #
typeCValue_vLong :: AttrLabelProxy "vLong" #
vPointer
clearTypeCValueVPointer :: MonadIO m => TypeCValue -> m () #
getTypeCValueVPointer :: MonadIO m => TypeCValue -> m (Ptr ()) #
setTypeCValueVPointer :: MonadIO m => TypeCValue -> Ptr () -> m () #
typeCValue_vPointer :: AttrLabelProxy "vPointer" #