gi-gst-1.0.26: GStreamer bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gst.Structs.ParseContext

Description

Opaque structure.

Synopsis

Exported types

newtype ParseContext Source #

Memory-managed wrapper type.

Constructors

ParseContext (ManagedPtr ParseContext) 

Instances

Instances details
Eq ParseContext Source # 
Instance details

Defined in GI.Gst.Structs.ParseContext

GBoxed ParseContext Source # 
Instance details

Defined in GI.Gst.Structs.ParseContext

ManagedPtrNewtype ParseContext Source # 
Instance details

Defined in GI.Gst.Structs.ParseContext

Methods

toManagedPtr :: ParseContext -> ManagedPtr ParseContext

TypedObject ParseContext Source # 
Instance details

Defined in GI.Gst.Structs.ParseContext

Methods

glibType :: IO GType

HasParentTypes ParseContext Source # 
Instance details

Defined in GI.Gst.Structs.ParseContext

IsGValue (Maybe ParseContext) Source #

Convert ParseContext to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Gst.Structs.ParseContext

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe ParseContext -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe ParseContext)

type ParentTypes ParseContext Source # 
Instance details

Defined in GI.Gst.Structs.ParseContext

type ParentTypes ParseContext = '[] :: [Type]

Methods

Click to display all available methods, including inherited ones

Expand

Methods

copy, free.

Getters

getMissingElements.

Setters

None.

copy

parseContextCopy Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ParseContext

context: a ParseContext

-> m (Maybe ParseContext)

Returns: A copied ParseContext

Copies the context.

Since: 1.12.1

free

parseContextFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ParseContext

context: a ParseContext

-> m () 

Frees a parse context previously allocated with parseContextNew.

getMissingElements

parseContextGetMissingElements Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ParseContext

context: a ParseContext

-> m (Maybe [Text])

Returns: a Nothing-terminated array of element factory name strings of missing elements. Free with strfreev when no longer needed.

Retrieve missing elements from a previous run of parseLaunchFull or parseLaunchvFull. Will only return results if an error code of ParseErrorNoSuchElement was returned.

new

parseContextNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m (Maybe ParseContext)

Returns: a newly-allocated parse context. Free with parseContextFree when no longer needed.

Allocates a parse context for use with parseLaunchFull or parseLaunchvFull.

Free-function: gst_parse_context_free