Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
Structure describing the StaticPadTemplate
.
Synopsis
- newtype StaticPadTemplate = StaticPadTemplate (ManagedPtr StaticPadTemplate)
- newZeroStaticPadTemplate :: MonadIO m => m StaticPadTemplate
- noStaticPadTemplate :: Maybe StaticPadTemplate
- staticPadTemplateGet :: (HasCallStack, MonadIO m) => StaticPadTemplate -> m (Maybe PadTemplate)
- staticPadTemplateGetCaps :: (HasCallStack, MonadIO m) => StaticPadTemplate -> m Caps
- getStaticPadTemplateDirection :: MonadIO m => StaticPadTemplate -> m PadDirection
- setStaticPadTemplateDirection :: MonadIO m => StaticPadTemplate -> PadDirection -> m ()
- clearStaticPadTemplateNameTemplate :: MonadIO m => StaticPadTemplate -> m ()
- getStaticPadTemplateNameTemplate :: MonadIO m => StaticPadTemplate -> m (Maybe Text)
- setStaticPadTemplateNameTemplate :: MonadIO m => StaticPadTemplate -> CString -> m ()
- getStaticPadTemplatePresence :: MonadIO m => StaticPadTemplate -> m PadPresence
- setStaticPadTemplatePresence :: MonadIO m => StaticPadTemplate -> PadPresence -> m ()
- getStaticPadTemplateStaticCaps :: MonadIO m => StaticPadTemplate -> m StaticCaps
Exported types
newtype StaticPadTemplate Source #
Memory-managed wrapper type.
Instances
WrappedPtr StaticPadTemplate Source # | |
tag ~ AttrSet => Constructible StaticPadTemplate tag Source # | |
Defined in GI.Gst.Structs.StaticPadTemplate new :: MonadIO m => (ManagedPtr StaticPadTemplate -> StaticPadTemplate) -> [AttrOp StaticPadTemplate tag] -> m StaticPadTemplate # |
newZeroStaticPadTemplate :: MonadIO m => m StaticPadTemplate Source #
Construct a StaticPadTemplate
struct initialized to zero.
noStaticPadTemplate :: Maybe StaticPadTemplate Source #
A convenience alias for Nothing
:: Maybe
StaticPadTemplate
.
Methods
get
:: (HasCallStack, MonadIO m) | |
=> StaticPadTemplate |
|
-> m (Maybe PadTemplate) | Returns: a new |
Converts a StaticPadTemplate
into a PadTemplate
.
getCaps
staticPadTemplateGetCaps Source #
:: (HasCallStack, MonadIO m) | |
=> StaticPadTemplate |
|
-> m Caps | Returns: the |
Gets the capabilities of the static pad template.
Properties
direction
the direction of the template
getStaticPadTemplateDirection :: MonadIO m => StaticPadTemplate -> m PadDirection Source #
Get the value of the “direction
” field.
When overloading is enabled, this is equivalent to
get
staticPadTemplate #direction
setStaticPadTemplateDirection :: MonadIO m => StaticPadTemplate -> PadDirection -> m () Source #
Set the value of the “direction
” field.
When overloading is enabled, this is equivalent to
set
staticPadTemplate [ #direction:=
value ]
nameTemplate
the name of the template
clearStaticPadTemplateNameTemplate :: MonadIO m => StaticPadTemplate -> m () Source #
Set the value of the “name_template
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#nameTemplate
getStaticPadTemplateNameTemplate :: MonadIO m => StaticPadTemplate -> m (Maybe Text) Source #
Get the value of the “name_template
” field.
When overloading is enabled, this is equivalent to
get
staticPadTemplate #nameTemplate
setStaticPadTemplateNameTemplate :: MonadIO m => StaticPadTemplate -> CString -> m () Source #
Set the value of the “name_template
” field.
When overloading is enabled, this is equivalent to
set
staticPadTemplate [ #nameTemplate:=
value ]
presence
the presence of the template
getStaticPadTemplatePresence :: MonadIO m => StaticPadTemplate -> m PadPresence Source #
Get the value of the “presence
” field.
When overloading is enabled, this is equivalent to
get
staticPadTemplate #presence
setStaticPadTemplatePresence :: MonadIO m => StaticPadTemplate -> PadPresence -> m () Source #
Set the value of the “presence
” field.
When overloading is enabled, this is equivalent to
set
staticPadTemplate [ #presence:=
value ]
staticCaps
the caps of the template.
getStaticPadTemplateStaticCaps :: MonadIO m => StaticPadTemplate -> m StaticCaps Source #
Get the value of the “static_caps
” field.
When overloading is enabled, this is equivalent to
get
staticPadTemplate #staticCaps