gi-gst-1.0.7: GStreamer bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gst.Objects.Object

Contents

Description

 

Synopsis

Exported types

newtype Object Source #

Constructors

Object (ManagedPtr Object) 

Instances

GObject Object Source # 
IsObject Object Source # 
IsObject Object Source # 
((~) * info (ResolveObjectMethod t Object), MethodInfo * info Object p) => IsLabel t (Object -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> Object -> p #

((~) * info (ResolveObjectMethod t Object), MethodInfo * info Object p) => IsLabelProxy t (Object -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> Object -> p

HasAttributeList * Object Source # 
type SignalList Object Source # 
type SignalList Object
type AttributeList Object Source # 
type AttributeList Object

Methods

addControlBinding

data ObjectAddControlBindingMethodInfo Source #

Instances

((~) * signature (b -> m Bool), MonadIO m, IsObject a, IsControlBinding b) => MethodInfo * ObjectAddControlBindingMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectAddControlBindingMethodInfo a -> signature -> s

checkUniqueness

objectCheckUniqueness :: (MonadIO m, IsObject a) => [a] -> Text -> m Bool Source #

defaultDeepNotify

objectDefaultDeepNotify :: (MonadIO m, IsObject a, IsObject b) => a -> b -> GParamSpec -> Maybe [Text] -> m () Source #

defaultError

data ObjectDefaultErrorMethodInfo Source #

Instances

((~) * signature (GError -> Maybe Text -> m ()), MonadIO m, IsObject a) => MethodInfo * ObjectDefaultErrorMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectDefaultErrorMethodInfo a -> signature -> s

objectDefaultError :: (MonadIO m, IsObject a) => a -> GError -> Maybe Text -> m () Source #

getControlBinding

data ObjectGetControlBindingMethodInfo Source #

Instances

((~) * signature (Text -> m (Maybe ControlBinding)), MonadIO m, IsObject a) => MethodInfo * ObjectGetControlBindingMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectGetControlBindingMethodInfo a -> signature -> s

getControlRate

data ObjectGetControlRateMethodInfo Source #

Instances

((~) * signature (m Word64), MonadIO m, IsObject a) => MethodInfo * ObjectGetControlRateMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectGetControlRateMethodInfo a -> signature -> s

getGValueArray

data ObjectGetGValueArrayMethodInfo Source #

Instances

((~) * signature (Text -> Word64 -> Word64 -> Word32 -> GValue -> m Bool), MonadIO m, IsObject a) => MethodInfo * ObjectGetGValueArrayMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectGetGValueArrayMethodInfo a -> signature -> s

objectGetGValueArray :: (MonadIO m, IsObject a) => a -> Text -> Word64 -> Word64 -> Word32 -> GValue -> m Bool Source #

getName

data ObjectGetNameMethodInfo Source #

Instances

((~) * signature (m (Maybe Text)), MonadIO m, IsObject a) => MethodInfo * ObjectGetNameMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectGetNameMethodInfo a -> signature -> s

objectGetName :: (MonadIO m, IsObject a) => a -> m (Maybe Text) Source #

getParent

data ObjectGetParentMethodInfo Source #

Instances

((~) * signature (m (Maybe Object)), MonadIO m, IsObject a) => MethodInfo * ObjectGetParentMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectGetParentMethodInfo a -> signature -> s

getPathString

data ObjectGetPathStringMethodInfo Source #

Instances

((~) * signature (m Text), MonadIO m, IsObject a) => MethodInfo * ObjectGetPathStringMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectGetPathStringMethodInfo a -> signature -> s

objectGetPathString :: (MonadIO m, IsObject a) => a -> m Text Source #

getValue

data ObjectGetValueMethodInfo Source #

Instances

((~) * signature (Text -> Word64 -> m (Maybe GValue)), MonadIO m, IsObject a) => MethodInfo * ObjectGetValueMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectGetValueMethodInfo a -> signature -> s

objectGetValue :: (MonadIO m, IsObject a) => a -> Text -> Word64 -> m (Maybe GValue) Source #

getValueArray

data ObjectGetValueArrayMethodInfo Source #

Instances

((~) * signature (Text -> Word64 -> Word64 -> Word32 -> Ptr () -> m Bool), MonadIO m, IsObject a) => MethodInfo * ObjectGetValueArrayMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectGetValueArrayMethodInfo a -> signature -> s

objectGetValueArray :: (MonadIO m, IsObject a) => a -> Text -> Word64 -> Word64 -> Word32 -> Ptr () -> m Bool Source #

hasActiveControlBindings

data ObjectHasActiveControlBindingsMethodInfo Source #

Instances

((~) * signature (m Bool), MonadIO m, IsObject a) => MethodInfo * ObjectHasActiveControlBindingsMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectHasActiveControlBindingsMethodInfo a -> signature -> s

hasAncestor

data ObjectHasAncestorMethodInfo Source #

Instances

((~) * signature (b -> m Bool), MonadIO m, IsObject a, IsObject b) => MethodInfo * ObjectHasAncestorMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectHasAncestorMethodInfo a -> signature -> s

objectHasAncestor :: (MonadIO m, IsObject a, IsObject b) => a -> b -> m Bool Source #

Deprecated: Use gst_object_has_as_ancestor() instead.MT safe. Grabs and releases @object's locks.

hasAsAncestor

data ObjectHasAsAncestorMethodInfo Source #

Instances

((~) * signature (b -> m Bool), MonadIO m, IsObject a, IsObject b) => MethodInfo * ObjectHasAsAncestorMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectHasAsAncestorMethodInfo a -> signature -> s

hasAsParent

data ObjectHasAsParentMethodInfo Source #

Instances

((~) * signature (b -> m Bool), MonadIO m, IsObject a, IsObject b) => MethodInfo * ObjectHasAsParentMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectHasAsParentMethodInfo a -> signature -> s

objectHasAsParent :: (MonadIO m, IsObject a, IsObject b) => a -> b -> m Bool Source #

ref

data ObjectRefMethodInfo Source #

Instances

((~) * signature (m Object), MonadIO m, IsObject a) => MethodInfo * ObjectRefMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectRefMethodInfo a -> signature -> s

objectRef :: (MonadIO m, IsObject a) => a -> m Object Source #

removeControlBinding

data ObjectRemoveControlBindingMethodInfo Source #

Instances

((~) * signature (b -> m Bool), MonadIO m, IsObject a, IsControlBinding b) => MethodInfo * ObjectRemoveControlBindingMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectRemoveControlBindingMethodInfo a -> signature -> s

replace

setControlBindingDisabled

data ObjectSetControlBindingDisabledMethodInfo Source #

Instances

((~) * signature (Text -> Bool -> m ()), MonadIO m, IsObject a) => MethodInfo * ObjectSetControlBindingDisabledMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectSetControlBindingDisabledMethodInfo a -> signature -> s

objectSetControlBindingDisabled :: (MonadIO m, IsObject a) => a -> Text -> Bool -> m () Source #

setControlBindingsDisabled

data ObjectSetControlBindingsDisabledMethodInfo Source #

Instances

((~) * signature (Bool -> m ()), MonadIO m, IsObject a) => MethodInfo * ObjectSetControlBindingsDisabledMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectSetControlBindingsDisabledMethodInfo a -> signature -> s

setControlRate

data ObjectSetControlRateMethodInfo Source #

Instances

((~) * signature (Word64 -> m ()), MonadIO m, IsObject a) => MethodInfo * ObjectSetControlRateMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectSetControlRateMethodInfo a -> signature -> s

setName

data ObjectSetNameMethodInfo Source #

Instances

((~) * signature (Maybe Text -> m Bool), MonadIO m, IsObject a) => MethodInfo * ObjectSetNameMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectSetNameMethodInfo a -> signature -> s

objectSetName :: (MonadIO m, IsObject a) => a -> Maybe Text -> m Bool Source #

setParent

data ObjectSetParentMethodInfo Source #

Instances

((~) * signature (b -> m Bool), MonadIO m, IsObject a, IsObject b) => MethodInfo * ObjectSetParentMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectSetParentMethodInfo a -> signature -> s

objectSetParent :: (MonadIO m, IsObject a, IsObject b) => a -> b -> m Bool Source #

suggestNextSync

data ObjectSuggestNextSyncMethodInfo Source #

Instances

((~) * signature (m Word64), MonadIO m, IsObject a) => MethodInfo * ObjectSuggestNextSyncMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectSuggestNextSyncMethodInfo a -> signature -> s

syncValues

data ObjectSyncValuesMethodInfo Source #

Instances

((~) * signature (Word64 -> m Bool), MonadIO m, IsObject a) => MethodInfo * ObjectSyncValuesMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectSyncValuesMethodInfo a -> signature -> s

unparent

data ObjectUnparentMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsObject a) => MethodInfo * ObjectUnparentMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectUnparentMethodInfo a -> signature -> s

objectUnparent :: (MonadIO m, IsObject a) => a -> m () Source #

unref

data ObjectUnrefMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsObject a) => MethodInfo * ObjectUnrefMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ObjectUnrefMethodInfo a -> signature -> s

objectUnref :: (MonadIO m, IsObject a) => a -> m () Source #

Properties

name

data ObjectNamePropertyInfo Source #

Instances

AttrInfo ObjectNamePropertyInfo Source # 

Associated Types

type AttrAllowedOps ObjectNamePropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ObjectNamePropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ObjectNamePropertyInfo :: * -> Constraint

type AttrGetType ObjectNamePropertyInfo :: *

type AttrLabel ObjectNamePropertyInfo :: Symbol

type AttrOrigin ObjectNamePropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint ObjectNamePropertyInfo o => Proxy * ObjectNamePropertyInfo -> o -> IO (AttrGetType ObjectNamePropertyInfo)

attrSet :: (AttrBaseTypeConstraint ObjectNamePropertyInfo o, AttrSetTypeConstraint ObjectNamePropertyInfo b) => Proxy * ObjectNamePropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint ObjectNamePropertyInfo o => Proxy * ObjectNamePropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint ObjectNamePropertyInfo o, AttrSetTypeConstraint ObjectNamePropertyInfo b) => Proxy * ObjectNamePropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint ObjectNamePropertyInfo Source # 
type AttrSetTypeConstraint ObjectNamePropertyInfo = * ~ Text
type AttrOrigin ObjectNamePropertyInfo Source # 
type AttrOrigin ObjectNamePropertyInfo = Object
type AttrLabel ObjectNamePropertyInfo Source # 
type AttrLabel ObjectNamePropertyInfo = "name"
type AttrGetType ObjectNamePropertyInfo Source # 
type AttrGetType ObjectNamePropertyInfo = Maybe Text
type AttrBaseTypeConstraint ObjectNamePropertyInfo Source # 
type AttrBaseTypeConstraint ObjectNamePropertyInfo = IsObject
type AttrAllowedOps ObjectNamePropertyInfo Source # 
type AttrAllowedOps ObjectNamePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))))

clearObjectName :: (MonadIO m, IsObject o) => o -> m () Source #

constructObjectName :: IsObject o => Text -> IO (GValueConstruct o) Source #

getObjectName :: (MonadIO m, IsObject o) => o -> m (Maybe Text) Source #

objectName :: AttrLabelProxy "name" Source #

setObjectName :: (MonadIO m, IsObject o) => o -> Text -> m () Source #

parent

data ObjectParentPropertyInfo Source #

Instances

AttrInfo ObjectParentPropertyInfo Source # 

Associated Types

type AttrAllowedOps ObjectParentPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ObjectParentPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ObjectParentPropertyInfo :: * -> Constraint

type AttrGetType ObjectParentPropertyInfo :: *

type AttrLabel ObjectParentPropertyInfo :: Symbol

type AttrOrigin ObjectParentPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint ObjectParentPropertyInfo o => Proxy * ObjectParentPropertyInfo -> o -> IO (AttrGetType ObjectParentPropertyInfo)

attrSet :: (AttrBaseTypeConstraint ObjectParentPropertyInfo o, AttrSetTypeConstraint ObjectParentPropertyInfo b) => Proxy * ObjectParentPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint ObjectParentPropertyInfo o => Proxy * ObjectParentPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint ObjectParentPropertyInfo o, AttrSetTypeConstraint ObjectParentPropertyInfo b) => Proxy * ObjectParentPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint ObjectParentPropertyInfo Source # 
type AttrSetTypeConstraint ObjectParentPropertyInfo = IsObject
type AttrOrigin ObjectParentPropertyInfo Source # 
type AttrLabel ObjectParentPropertyInfo Source # 
type AttrLabel ObjectParentPropertyInfo = "parent"
type AttrGetType ObjectParentPropertyInfo Source # 
type AttrBaseTypeConstraint ObjectParentPropertyInfo Source # 
type AttrBaseTypeConstraint ObjectParentPropertyInfo = IsObject
type AttrAllowedOps ObjectParentPropertyInfo Source # 
type AttrAllowedOps ObjectParentPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))))

clearObjectParent :: (MonadIO m, IsObject o) => o -> m () Source #

constructObjectParent :: (IsObject o, IsObject a) => a -> IO (GValueConstruct o) Source #

objectParent :: AttrLabelProxy "parent" Source #

setObjectParent :: (MonadIO m, IsObject o, IsObject a) => o -> a -> m () Source #

Signals

deepNotify

type C_ObjectDeepNotifyCallback = Ptr () -> Ptr Object -> Ptr GParamSpec -> Ptr () -> IO () Source #

type ObjectDeepNotifyCallback = Object -> GParamSpec -> IO () Source #

data ObjectDeepNotifySignalInfo Source #

Instances

SignalInfo ObjectDeepNotifySignalInfo Source # 

Associated Types

type HaskellCallbackType ObjectDeepNotifySignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o ObjectDeepNotifySignalInfo -> o -> HaskellCallbackType ObjectDeepNotifySignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType ObjectDeepNotifySignalInfo Source # 

afterObjectDeepNotify :: (GObject a, MonadIO m) => a -> ObjectDeepNotifyCallback -> m SignalHandlerId Source #

onObjectDeepNotify :: (GObject a, MonadIO m) => a -> ObjectDeepNotifyCallback -> m SignalHandlerId Source #