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 |
A format definition
Synopsis
- newtype FormatDefinition = FormatDefinition (ManagedPtr FormatDefinition)
- newZeroFormatDefinition :: MonadIO m => m FormatDefinition
- noFormatDefinition :: Maybe FormatDefinition
- clearFormatDefinitionDescription :: MonadIO m => FormatDefinition -> m ()
- getFormatDefinitionDescription :: MonadIO m => FormatDefinition -> m (Maybe Text)
- setFormatDefinitionDescription :: MonadIO m => FormatDefinition -> CString -> m ()
- clearFormatDefinitionNick :: MonadIO m => FormatDefinition -> m ()
- getFormatDefinitionNick :: MonadIO m => FormatDefinition -> m (Maybe Text)
- setFormatDefinitionNick :: MonadIO m => FormatDefinition -> CString -> m ()
- getFormatDefinitionQuark :: MonadIO m => FormatDefinition -> m Word32
- setFormatDefinitionQuark :: MonadIO m => FormatDefinition -> Word32 -> m ()
- getFormatDefinitionValue :: MonadIO m => FormatDefinition -> m Format
- setFormatDefinitionValue :: MonadIO m => FormatDefinition -> Format -> m ()
Exported types
newtype FormatDefinition Source #
Memory-managed wrapper type.
Instances
Eq FormatDefinition Source # | |
Defined in GI.Gst.Structs.FormatDefinition (==) :: FormatDefinition -> FormatDefinition -> Bool # (/=) :: FormatDefinition -> FormatDefinition -> Bool # | |
WrappedPtr FormatDefinition Source # | |
tag ~ 'AttrSet => Constructible FormatDefinition tag Source # | |
Defined in GI.Gst.Structs.FormatDefinition new :: MonadIO m => (ManagedPtr FormatDefinition -> FormatDefinition) -> [AttrOp FormatDefinition tag] -> m FormatDefinition # |
newZeroFormatDefinition :: MonadIO m => m FormatDefinition Source #
Construct a FormatDefinition
struct initialized to zero.
noFormatDefinition :: Maybe FormatDefinition Source #
A convenience alias for Nothing
:: Maybe
FormatDefinition
.
Methods
Overloaded methods
Properties
description
A longer description of the format
clearFormatDefinitionDescription :: MonadIO m => FormatDefinition -> m () Source #
Set the value of the “description
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#description
getFormatDefinitionDescription :: MonadIO m => FormatDefinition -> m (Maybe Text) Source #
Get the value of the “description
” field.
When overloading is enabled, this is equivalent to
get
formatDefinition #description
setFormatDefinitionDescription :: MonadIO m => FormatDefinition -> CString -> m () Source #
Set the value of the “description
” field.
When overloading is enabled, this is equivalent to
set
formatDefinition [ #description:=
value ]
nick
A short nick of the format
clearFormatDefinitionNick :: MonadIO m => FormatDefinition -> m () Source #
Set the value of the “nick
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#nick
getFormatDefinitionNick :: MonadIO m => FormatDefinition -> m (Maybe Text) Source #
Get the value of the “nick
” field.
When overloading is enabled, this is equivalent to
get
formatDefinition #nick
setFormatDefinitionNick :: MonadIO m => FormatDefinition -> CString -> m () Source #
Set the value of the “nick
” field.
When overloading is enabled, this is equivalent to
set
formatDefinition [ #nick:=
value ]
quark
A quark for the nick
getFormatDefinitionQuark :: MonadIO m => FormatDefinition -> m Word32 Source #
Get the value of the “quark
” field.
When overloading is enabled, this is equivalent to
get
formatDefinition #quark
setFormatDefinitionQuark :: MonadIO m => FormatDefinition -> Word32 -> m () Source #
Set the value of the “quark
” field.
When overloading is enabled, this is equivalent to
set
formatDefinition [ #quark:=
value ]
value
The unique id of this format
getFormatDefinitionValue :: MonadIO m => FormatDefinition -> m Format Source #
Get the value of the “value
” field.
When overloading is enabled, this is equivalent to
get
formatDefinition #value
setFormatDefinitionValue :: MonadIO m => FormatDefinition -> Format -> m () Source #
Set the value of the “value
” field.
When overloading is enabled, this is equivalent to
set
formatDefinition [ #value:=
value ]