| 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.StaticPadTemplate
Description
Structure describing the StaticPadTemplate.
Synopsis
- newtype StaticPadTemplate = StaticPadTemplate (ManagedPtr StaticPadTemplate)
- newZeroStaticPadTemplate :: MonadIO m => m 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.
Constructors
| StaticPadTemplate (ManagedPtr StaticPadTemplate) |
Instances
| Eq StaticPadTemplate Source # | |
Defined in GI.Gst.Structs.StaticPadTemplate Methods (==) :: StaticPadTemplate -> StaticPadTemplate -> Bool # (/=) :: StaticPadTemplate -> StaticPadTemplate -> Bool # | |
| BoxedPtr StaticPadTemplate Source # | |
Defined in GI.Gst.Structs.StaticPadTemplate Methods boxedPtrCopy :: StaticPadTemplate -> IO StaticPadTemplate boxedPtrFree :: StaticPadTemplate -> IO () | |
| CallocPtr StaticPadTemplate Source # | |
Defined in GI.Gst.Structs.StaticPadTemplate Methods | |
| ManagedPtrNewtype StaticPadTemplate Source # | |
Defined in GI.Gst.Structs.StaticPadTemplate Methods toManagedPtr :: StaticPadTemplate -> ManagedPtr StaticPadTemplate | |
| tag ~ 'AttrSet => Constructible StaticPadTemplate tag Source # | |
Defined in GI.Gst.Structs.StaticPadTemplate Methods new :: MonadIO m => (ManagedPtr StaticPadTemplate -> StaticPadTemplate) -> [AttrOp StaticPadTemplate tag] -> m StaticPadTemplate | |
newZeroStaticPadTemplate :: MonadIO m => m StaticPadTemplate Source #
Construct a StaticPadTemplate struct initialized to zero.
Methods
Click to display all available methods, including inherited ones
get
Arguments
| :: (HasCallStack, MonadIO m) | |
| => StaticPadTemplate |
|
| -> m (Maybe PadTemplate) | Returns: a new |
Converts a StaticPadTemplate into a PadTemplate.
getCaps
staticPadTemplateGetCaps Source #
Arguments
| :: (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
setstaticPadTemplate [ #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
setstaticPadTemplate [ #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
setstaticPadTemplate [ #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