| 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 |
GI.Gst.Structs.FormatDefinition
Description
A format definition
Synopsis
- newtype FormatDefinition = FormatDefinition (ManagedPtr FormatDefinition)
- newZeroFormatDefinition :: MonadIO m => m 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.
Constructors
| FormatDefinition (ManagedPtr FormatDefinition) |
Instances
| Eq FormatDefinition Source # | |
Defined in GI.Gst.Structs.FormatDefinition Methods (==) :: FormatDefinition -> FormatDefinition -> Bool # (/=) :: FormatDefinition -> FormatDefinition -> Bool # | |
| BoxedPtr FormatDefinition Source # | |
Defined in GI.Gst.Structs.FormatDefinition Methods boxedPtrCopy :: FormatDefinition -> IO FormatDefinition boxedPtrFree :: FormatDefinition -> IO () | |
| CallocPtr FormatDefinition Source # | |
Defined in GI.Gst.Structs.FormatDefinition Methods | |
| ManagedPtrNewtype FormatDefinition Source # | |
Defined in GI.Gst.Structs.FormatDefinition Methods toManagedPtr :: FormatDefinition -> ManagedPtr FormatDefinition | |
| tag ~ 'AttrSet => Constructible FormatDefinition tag Source # | |
Defined in GI.Gst.Structs.FormatDefinition Methods new :: MonadIO m => (ManagedPtr FormatDefinition -> FormatDefinition) -> [AttrOp FormatDefinition tag] -> m FormatDefinition | |
newZeroFormatDefinition :: MonadIO m => m FormatDefinition Source #
Construct a FormatDefinition struct initialized to zero.
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
setformatDefinition [ #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
setformatDefinition [ #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
setformatDefinition [ #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
setformatDefinition [ #value:=value ]