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 |
- newtype ValueArray = ValueArray (ForeignPtr ValueArray)
- newZeroValueArray :: MonadIO m => m ValueArray
- noValueArray :: Maybe ValueArray
- data ValueArrayAppendMethodInfo
- valueArrayAppend :: MonadIO m => ValueArray -> Maybe GValue -> m ValueArray
- data ValueArrayCopyMethodInfo
- valueArrayCopy :: MonadIO m => ValueArray -> m ValueArray
- data ValueArrayFreeMethodInfo
- valueArrayFree :: MonadIO m => ValueArray -> m ()
- data ValueArrayGetNthMethodInfo
- valueArrayGetNth :: MonadIO m => ValueArray -> Word32 -> m GValue
- data ValueArrayInsertMethodInfo
- valueArrayInsert :: MonadIO m => ValueArray -> Word32 -> Maybe GValue -> m ValueArray
- valueArrayNew :: MonadIO m => Word32 -> m ValueArray
- data ValueArrayPrependMethodInfo
- valueArrayPrepend :: MonadIO m => ValueArray -> Maybe GValue -> m ValueArray
- data ValueArrayRemoveMethodInfo
- valueArrayRemove :: MonadIO m => ValueArray -> Word32 -> m ValueArray
- data ValueArraySortMethodInfo
- valueArraySort :: MonadIO m => ValueArray -> CompareDataFunc -> m ValueArray
- valueArrayNValues :: AttrLabelProxy "nValues"
- valueArrayReadNValues :: MonadIO m => ValueArray -> m Word32
- valueArrayWriteNValues :: MonadIO m => ValueArray -> Word32 -> m ()
- valueArrayClearValues :: MonadIO m => ValueArray -> m ()
- valueArrayReadValues :: MonadIO m => ValueArray -> m (Maybe GValue)
- valueArrayValues :: AttrLabelProxy "values"
- valueArrayWriteValues :: MonadIO m => ValueArray -> Ptr GValue -> m ()
Exported types
newtype ValueArray Source
newZeroValueArray :: MonadIO m => m ValueArray Source
Construct a ValueArray
struct initialized to zero.
Methods
valueArrayAppend
data ValueArrayAppendMethodInfo Source
((~) * signature (Maybe GValue -> m ValueArray), MonadIO m) => MethodInfo * ValueArrayAppendMethodInfo ValueArray signature |
valueArrayAppend :: MonadIO m => ValueArray -> Maybe GValue -> m ValueArray Source
Deprecated: (Since version 2.32)Use #GArray and g_array_append_val() instead.
valueArrayCopy
data ValueArrayCopyMethodInfo Source
((~) * signature (m ValueArray), MonadIO m) => MethodInfo * ValueArrayCopyMethodInfo ValueArray signature |
valueArrayCopy :: MonadIO m => ValueArray -> m ValueArray Source
Deprecated: (Since version 2.32)Use #GArray and g_array_ref() instead.
valueArrayFree
data ValueArrayFreeMethodInfo Source
((~) * signature (m ()), MonadIO m) => MethodInfo * ValueArrayFreeMethodInfo ValueArray signature |
valueArrayFree :: MonadIO m => ValueArray -> m () Source
Deprecated: (Since version 2.32)Use #GArray and g_array_unref() instead.
valueArrayGetNth
data ValueArrayGetNthMethodInfo Source
((~) * signature (Word32 -> m GValue), MonadIO m) => MethodInfo * ValueArrayGetNthMethodInfo ValueArray signature |
valueArrayGetNth :: MonadIO m => ValueArray -> Word32 -> m GValue Source
Deprecated: (Since version 2.32)Use g_array_index() instead.
valueArrayInsert
data ValueArrayInsertMethodInfo Source
((~) * signature (Word32 -> Maybe GValue -> m ValueArray), MonadIO m) => MethodInfo * ValueArrayInsertMethodInfo ValueArray signature |
valueArrayInsert :: MonadIO m => ValueArray -> Word32 -> Maybe GValue -> m ValueArray Source
Deprecated: (Since version 2.32)Use #GArray and g_array_insert_val() instead.
valueArrayNew
valueArrayNew :: MonadIO m => Word32 -> m ValueArray Source
Deprecated: (Since version 2.32)Use #GArray and g_array_sized_new() instead.
valueArrayPrepend
data ValueArrayPrependMethodInfo Source
((~) * signature (Maybe GValue -> m ValueArray), MonadIO m) => MethodInfo * ValueArrayPrependMethodInfo ValueArray signature |
valueArrayPrepend :: MonadIO m => ValueArray -> Maybe GValue -> m ValueArray Source
Deprecated: (Since version 2.32)Use #GArray and g_array_prepend_val() instead.
valueArrayRemove
data ValueArrayRemoveMethodInfo Source
((~) * signature (Word32 -> m ValueArray), MonadIO m) => MethodInfo * ValueArrayRemoveMethodInfo ValueArray signature |
valueArrayRemove :: MonadIO m => ValueArray -> Word32 -> m ValueArray Source
Deprecated: (Since version 2.32)Use #GArray and g_array_remove_index() instead.
valueArraySort
data ValueArraySortMethodInfo Source
((~) * signature (CompareDataFunc -> m ValueArray), MonadIO m) => MethodInfo * ValueArraySortMethodInfo ValueArray signature |
valueArraySort :: MonadIO m => ValueArray -> CompareDataFunc -> m ValueArray Source
Deprecated: (Since version 2.32)Use #GArray and g_array_sort_with_data().
Properties
NValues
valueArrayNValues :: AttrLabelProxy "nValues" Source
valueArrayReadNValues :: MonadIO m => ValueArray -> m Word32 Source
valueArrayWriteNValues :: MonadIO m => ValueArray -> Word32 -> m () Source
Values
valueArrayClearValues :: MonadIO m => ValueArray -> m () Source
valueArrayReadValues :: MonadIO m => ValueArray -> m (Maybe GValue) Source
valueArrayValues :: AttrLabelProxy "values" Source
valueArrayWriteValues :: MonadIO m => ValueArray -> Ptr GValue -> m () Source