gi-gobject-2.0.16: 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.TypeValueTable

Contents

Description

The TypeValueTable provides the functions required by the Value implementation, to serve as a container for values of a type.

Synopsis

Exported types

newZeroTypeValueTable :: MonadIO m => m TypeValueTable Source #

Construct a TypeValueTable struct initialized to zero.

Properties

collectFormat

A string format describing how to collect the contents of this value bit-by-bit. Each character in the format represents an argument to be collected, and the characters themselves indicate the type of the argument. Currently supported arguments are: - 'i' - Integers. passed as collect_values[].v_int. - 'l' - Longs. passed as collect_values[].v_long. - 'd' - Doubles. passed as collect_values[].v_double. - 'p' - Pointers. passed as collect_values[].v_pointer. It should be noted that for variable argument list construction, ANSI C promotes every type smaller than an integer to an int, and floats to doubles. So for collection of short int or char, 'i' needs to be used, and for collection of floats 'd'.

clearTypeValueTableCollectFormat :: MonadIO m => TypeValueTable -> m () Source #

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

clear #collectFormat

getTypeValueTableCollectFormat :: MonadIO m => TypeValueTable -> m (Maybe Text) Source #

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

get typeValueTable #collectFormat

setTypeValueTableCollectFormat :: MonadIO m => TypeValueTable -> CString -> m () Source #

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

set typeValueTable [ #collectFormat := value ]

collectValue

No description available in the introspection data.

clearTypeValueTableCollectValue :: MonadIO m => TypeValueTable -> m () Source #

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

clear #collectValue

getTypeValueTableCollectValue :: MonadIO m => TypeValueTable -> m (Maybe TypeValueTableCollectValueFieldCallback) Source #

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

get typeValueTable #collectValue

setTypeValueTableCollectValue :: MonadIO m => TypeValueTable -> FunPtr C_TypeValueTableCollectValueFieldCallback -> m () Source #

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

set typeValueTable [ #collectValue := value ]

lcopyFormat

Format description of the arguments to collect for lcopyValue, analogous to collectFormat. Usually, lcopyFormat string consists only of 'p's to provide lcopy_value() with pointers to storage locations.

clearTypeValueTableLcopyFormat :: MonadIO m => TypeValueTable -> m () Source #

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

clear #lcopyFormat

getTypeValueTableLcopyFormat :: MonadIO m => TypeValueTable -> m (Maybe Text) Source #

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

get typeValueTable #lcopyFormat

setTypeValueTableLcopyFormat :: MonadIO m => TypeValueTable -> CString -> m () Source #

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

set typeValueTable [ #lcopyFormat := value ]

lcopyValue

No description available in the introspection data.

clearTypeValueTableLcopyValue :: MonadIO m => TypeValueTable -> m () Source #

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

clear #lcopyValue

getTypeValueTableLcopyValue :: MonadIO m => TypeValueTable -> m (Maybe TypeValueTableLcopyValueFieldCallback) Source #

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

get typeValueTable #lcopyValue

setTypeValueTableLcopyValue :: MonadIO m => TypeValueTable -> FunPtr C_TypeValueTableLcopyValueFieldCallback -> m () Source #

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

set typeValueTable [ #lcopyValue := value ]

valueCopy

No description available in the introspection data.

clearTypeValueTableValueCopy :: MonadIO m => TypeValueTable -> m () Source #

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

clear #valueCopy

getTypeValueTableValueCopy :: MonadIO m => TypeValueTable -> m (Maybe TypeValueTableValueCopyFieldCallback) Source #

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

get typeValueTable #valueCopy

setTypeValueTableValueCopy :: MonadIO m => TypeValueTable -> FunPtr C_TypeValueTableValueCopyFieldCallback -> m () Source #

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

set typeValueTable [ #valueCopy := value ]

valueFree

No description available in the introspection data.

clearTypeValueTableValueFree :: MonadIO m => TypeValueTable -> m () Source #

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

clear #valueFree

getTypeValueTableValueFree :: MonadIO m => TypeValueTable -> m (Maybe TypeValueTableValueFreeFieldCallback) Source #

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

get typeValueTable #valueFree

setTypeValueTableValueFree :: MonadIO m => TypeValueTable -> FunPtr C_TypeValueTableValueFreeFieldCallback -> m () Source #

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

set typeValueTable [ #valueFree := value ]

valueInit

No description available in the introspection data.

clearTypeValueTableValueInit :: MonadIO m => TypeValueTable -> m () Source #

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

clear #valueInit

getTypeValueTableValueInit :: MonadIO m => TypeValueTable -> m (Maybe TypeValueTableValueInitFieldCallback) Source #

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

get typeValueTable #valueInit

setTypeValueTableValueInit :: MonadIO m => TypeValueTable -> FunPtr C_TypeValueTableValueInitFieldCallback -> m () Source #

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

set typeValueTable [ #valueInit := value ]

valuePeekPointer

No description available in the introspection data.

clearTypeValueTableValuePeekPointer :: MonadIO m => TypeValueTable -> m () Source #

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

clear #valuePeekPointer

getTypeValueTableValuePeekPointer :: MonadIO m => TypeValueTable -> m (Maybe TypeValueTableValuePeekPointerFieldCallback) Source #

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

get typeValueTable #valuePeekPointer

setTypeValueTableValuePeekPointer :: MonadIO m => TypeValueTable -> FunPtr C_TypeValueTableValuePeekPointerFieldCallback -> m () Source #

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

set typeValueTable [ #valuePeekPointer := value ]