gi-gst-1.0.22: GStreamer bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gst.Structs.FormatDefinition

Description

A format definition

Synopsis

Exported types

newZeroFormatDefinition :: MonadIO m => m FormatDefinition Source #

Construct a FormatDefinition struct initialized to zero.

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 ]