gi-girepository-1.0.20: GIRepository (gobject-introspection) bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.GIRepository.Unions.Argument

Contents

Description

Stores an argument of varying type

Synopsis

Exported types

newtype Argument Source #

Memory-managed wrapper type.

Constructors

Argument (ManagedPtr Argument) 
Instances
WrappedPtr Argument Source # 
Instance details

Defined in GI.GIRepository.Unions.Argument

tag ~ AttrSet => Constructible Argument tag Source # 
Instance details

Defined in GI.GIRepository.Unions.Argument

Methods

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

newZeroArgument :: MonadIO m => m Argument Source #

Construct a Argument struct initialized to zero.

noArgument :: Maybe Argument Source #

A convenience alias for Nothing :: Maybe Argument.

Properties

vBoolean

TODO

getArgumentVBoolean :: MonadIO m => Argument -> m Bool Source #

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

get argument #vBoolean

setArgumentVBoolean :: MonadIO m => Argument -> Bool -> m () Source #

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

set argument [ #vBoolean := value ]

vDouble

TODO

getArgumentVDouble :: MonadIO m => Argument -> m Double Source #

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

get argument #vDouble

setArgumentVDouble :: MonadIO m => Argument -> Double -> m () Source #

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

set argument [ #vDouble := value ]

vFloat

TODO

getArgumentVFloat :: MonadIO m => Argument -> m Float Source #

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

get argument #vFloat

setArgumentVFloat :: MonadIO m => Argument -> Float -> m () Source #

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

set argument [ #vFloat := value ]

vInt

TODO

getArgumentVInt :: MonadIO m => Argument -> m Int32 Source #

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

get argument #vInt

setArgumentVInt :: MonadIO m => Argument -> Int32 -> m () Source #

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

set argument [ #vInt := value ]

vInt16

TODO

getArgumentVInt16 :: MonadIO m => Argument -> m Int16 Source #

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

get argument #vInt16

setArgumentVInt16 :: MonadIO m => Argument -> Int16 -> m () Source #

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

set argument [ #vInt16 := value ]

vInt32

TODO

getArgumentVInt32 :: MonadIO m => Argument -> m Int32 Source #

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

get argument #vInt32

setArgumentVInt32 :: MonadIO m => Argument -> Int32 -> m () Source #

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

set argument [ #vInt32 := value ]

vInt64

TODO

getArgumentVInt64 :: MonadIO m => Argument -> m Int64 Source #

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

get argument #vInt64

setArgumentVInt64 :: MonadIO m => Argument -> Int64 -> m () Source #

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

set argument [ #vInt64 := value ]

vInt8

TODO

getArgumentVInt8 :: MonadIO m => Argument -> m Int8 Source #

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

get argument #vInt8

setArgumentVInt8 :: MonadIO m => Argument -> Int8 -> m () Source #

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

set argument [ #vInt8 := value ]

vLong

TODO

getArgumentVLong :: MonadIO m => Argument -> m CLong Source #

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

get argument #vLong

setArgumentVLong :: MonadIO m => Argument -> CLong -> m () Source #

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

set argument [ #vLong := value ]

vPointer

TODO

clearArgumentVPointer :: MonadIO m => Argument -> m () Source #

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

clear #vPointer

getArgumentVPointer :: MonadIO m => Argument -> m (Ptr ()) Source #

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

get argument #vPointer

setArgumentVPointer :: MonadIO m => Argument -> Ptr () -> m () Source #

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

set argument [ #vPointer := value ]

vShort

TODO

getArgumentVShort :: MonadIO m => Argument -> m Int16 Source #

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

get argument #vShort

setArgumentVShort :: MonadIO m => Argument -> Int16 -> m () Source #

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

set argument [ #vShort := value ]

vSize

TODO

getArgumentVSize :: MonadIO m => Argument -> m Word64 Source #

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

get argument #vSize

setArgumentVSize :: MonadIO m => Argument -> Word64 -> m () Source #

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

set argument [ #vSize := value ]

vSsize

TODO

getArgumentVSsize :: MonadIO m => Argument -> m Int64 Source #

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

get argument #vSsize

setArgumentVSsize :: MonadIO m => Argument -> Int64 -> m () Source #

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

set argument [ #vSsize := value ]

vString

TODO

clearArgumentVString :: MonadIO m => Argument -> m () Source #

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

clear #vString

getArgumentVString :: MonadIO m => Argument -> m (Maybe Text) Source #

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

get argument #vString

setArgumentVString :: MonadIO m => Argument -> CString -> m () Source #

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

set argument [ #vString := value ]

vUint

TODO

getArgumentVUint :: MonadIO m => Argument -> m Word32 Source #

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

get argument #vUint

setArgumentVUint :: MonadIO m => Argument -> Word32 -> m () Source #

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

set argument [ #vUint := value ]

vUint16

TODO

getArgumentVUint16 :: MonadIO m => Argument -> m Word16 Source #

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

get argument #vUint16

setArgumentVUint16 :: MonadIO m => Argument -> Word16 -> m () Source #

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

set argument [ #vUint16 := value ]

vUint32

TODO

getArgumentVUint32 :: MonadIO m => Argument -> m Word32 Source #

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

get argument #vUint32

setArgumentVUint32 :: MonadIO m => Argument -> Word32 -> m () Source #

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

set argument [ #vUint32 := value ]

vUint64

TODO

getArgumentVUint64 :: MonadIO m => Argument -> m Word64 Source #

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

get argument #vUint64

setArgumentVUint64 :: MonadIO m => Argument -> Word64 -> m () Source #

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

set argument [ #vUint64 := value ]

vUint8

TODO

getArgumentVUint8 :: MonadIO m => Argument -> m Word8 Source #

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

get argument #vUint8

setArgumentVUint8 :: MonadIO m => Argument -> Word8 -> m () Source #

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

set argument [ #vUint8 := value ]

vUlong

TODO

getArgumentVUlong :: MonadIO m => Argument -> m CULong Source #

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

get argument #vUlong

setArgumentVUlong :: MonadIO m => Argument -> CULong -> m () Source #

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

set argument [ #vUlong := value ]

vUshort

TODO

getArgumentVUshort :: MonadIO m => Argument -> m Word16 Source #

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

get argument #vUshort

setArgumentVUshort :: MonadIO m => Argument -> Word16 -> m () Source #

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

set argument [ #vUshort := value ]