Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
A GParamSpec derived structure for arrays of values.
Synopsis
- newtype ParamSpecArray = ParamSpecArray (ManagedPtr ParamSpecArray)
- newZeroParamSpecArray :: MonadIO m => m ParamSpecArray
- clearParamSpecArrayElementSpec :: MonadIO m => ParamSpecArray -> m ()
- getParamSpecArrayElementSpec :: MonadIO m => ParamSpecArray -> m (Maybe GParamSpec)
- setParamSpecArrayElementSpec :: MonadIO m => ParamSpecArray -> Ptr GParamSpec -> m ()
- clearParamSpecArrayParentInstance :: MonadIO m => ParamSpecArray -> m ()
- getParamSpecArrayParentInstance :: MonadIO m => ParamSpecArray -> m (Maybe GParamSpec)
- setParamSpecArrayParentInstance :: MonadIO m => ParamSpecArray -> Ptr GParamSpec -> m ()
Exported types
newtype ParamSpecArray Source #
Memory-managed wrapper type.
ParamSpecArray (ManagedPtr ParamSpecArray) |
Instances
Eq ParamSpecArray Source # | |
Defined in GI.Gst.Structs.ParamSpecArray (==) :: ParamSpecArray -> ParamSpecArray -> Bool # (/=) :: ParamSpecArray -> ParamSpecArray -> Bool # | |
BoxedPtr ParamSpecArray Source # | |
Defined in GI.Gst.Structs.ParamSpecArray boxedPtrCopy :: ParamSpecArray -> IO ParamSpecArray boxedPtrFree :: ParamSpecArray -> IO () | |
CallocPtr ParamSpecArray Source # | |
Defined in GI.Gst.Structs.ParamSpecArray | |
ManagedPtrNewtype ParamSpecArray Source # | |
Defined in GI.Gst.Structs.ParamSpecArray toManagedPtr :: ParamSpecArray -> ManagedPtr ParamSpecArray | |
tag ~ 'AttrSet => Constructible ParamSpecArray tag Source # | |
Defined in GI.Gst.Structs.ParamSpecArray new :: MonadIO m => (ManagedPtr ParamSpecArray -> ParamSpecArray) -> [AttrOp ParamSpecArray tag] -> m ParamSpecArray |
newZeroParamSpecArray :: MonadIO m => m ParamSpecArray Source #
Construct a ParamSpecArray
struct initialized to zero.
Methods
Properties
elementSpec
the ParamSpec
of the type of values in the array
clearParamSpecArrayElementSpec :: MonadIO m => ParamSpecArray -> m () Source #
Set the value of the “element_spec
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#elementSpec
getParamSpecArrayElementSpec :: MonadIO m => ParamSpecArray -> m (Maybe GParamSpec) Source #
Get the value of the “element_spec
” field.
When overloading is enabled, this is equivalent to
get
paramSpecArray #elementSpec
setParamSpecArrayElementSpec :: MonadIO m => ParamSpecArray -> Ptr GParamSpec -> m () Source #
Set the value of the “element_spec
” field.
When overloading is enabled, this is equivalent to
set
paramSpecArray [ #elementSpec:=
value ]
parentInstance
super class
clearParamSpecArrayParentInstance :: MonadIO m => ParamSpecArray -> m () Source #
Set the value of the “parent_instance
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#parentInstance
getParamSpecArrayParentInstance :: MonadIO m => ParamSpecArray -> m (Maybe GParamSpec) Source #
Get the value of the “parent_instance
” field.
When overloading is enabled, this is equivalent to
get
paramSpecArray #parentInstance
setParamSpecArrayParentInstance :: MonadIO m => ParamSpecArray -> Ptr GParamSpec -> m () Source #
Set the value of the “parent_instance
” field.
When overloading is enabled, this is equivalent to
set
paramSpecArray [ #parentInstance:=
value ]