Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype ValueList = ValueList (ManagedPtr ValueList)
- class (BoxedPtr o, TypedObject o, IsDescendantOf ValueList o) => IsValueList o
- toValueList :: (MonadIO m, IsValueList o) => o -> m ValueList
- valueListAppendAndTakeValue :: (HasCallStack, MonadIO m) => GValue -> GValue -> m ()
- valueListAppendValue :: (HasCallStack, MonadIO m) => GValue -> GValue -> m ()
- valueListConcat :: (HasCallStack, MonadIO m) => GValue -> GValue -> m GValue
- valueListGetSize :: (HasCallStack, MonadIO m) => GValue -> m Word32
- valueListGetValue :: (HasCallStack, MonadIO m) => GValue -> Word32 -> m GValue
- valueListMerge :: (HasCallStack, MonadIO m) => GValue -> GValue -> m GValue
- valueListPrependValue :: (HasCallStack, MonadIO m) => GValue -> GValue -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq ValueList Source # | |
BoxedPtr ValueList Source # | |
Defined in GI.Gst.Objects.ValueList boxedPtrCopy :: ValueList -> IO ValueList boxedPtrFree :: ValueList -> IO () | |
ManagedPtrNewtype ValueList Source # | |
Defined in GI.Gst.Objects.ValueList toManagedPtr :: ValueList -> ManagedPtr ValueList | |
TypedObject ValueList Source # | |
Defined in GI.Gst.Objects.ValueList glibType :: IO GType | |
HasParentTypes ValueList Source # | |
Defined in GI.Gst.Objects.ValueList | |
type ParentTypes ValueList Source # | |
Defined in GI.Gst.Objects.ValueList type ParentTypes ValueList = '[] :: [Type] |
class (BoxedPtr o, TypedObject o, IsDescendantOf ValueList o) => IsValueList o Source #
Type class for types which can be safely cast to ValueList
, for instance with toValueList
.
Instances
(BoxedPtr o, TypedObject o, IsDescendantOf ValueList o) => IsValueList o Source # | |
Defined in GI.Gst.Objects.ValueList |
toValueList :: (MonadIO m, IsValueList o) => o -> m ValueList Source #
Methods
Overloaded methods
appendAndTakeValue
valueListAppendAndTakeValue Source #
:: (HasCallStack, MonadIO m) | |
=> GValue |
|
-> GValue |
|
-> m () |
Appends appendValue
to the GstValueList in value
.
Since: 1.2
appendValue
:: (HasCallStack, MonadIO m) | |
=> GValue |
|
-> GValue |
|
-> m () |
Appends appendValue
to the GstValueList in value
.
concat
Concatenates copies of value1
and value2
into a list. Values that are not
of type GST_TYPE_LIST
are treated as if they were lists of length 1.
dest
will be initialized to the type GST_TYPE_LIST
.
getSize
:: (HasCallStack, MonadIO m) | |
=> GValue |
|
-> m Word32 | Returns: the number of values |
Gets the number of values contained in value
.
getValue
:: (HasCallStack, MonadIO m) | |
=> GValue |
|
-> Word32 |
|
-> m GValue | Returns: the value at the given index |
Gets the value that is a member of the list contained in value
and
has the index index
.
merge
Merges copies of value1
and value2
. Values that are not
of type GST_TYPE_LIST
are treated as if they were lists of length 1.
The result will be put into dest
and will either be a list that will not
contain any duplicates, or a non-list type (if value1
and value2
were equal).
prependValue
valueListPrependValue Source #
:: (HasCallStack, MonadIO m) | |
=> GValue |
|
-> GValue |
|
-> m () |
Prepends prependValue
to the GstValueList in value
.