Maintainer | gtk2hs-devel@lists.sourceforge.net |
---|---|
Stability | alpha |
Portability | portable (depends on GHC) |
Safe Haskell | None |
Language | Haskell98 |
- data Pad
- class ObjectClass o => PadClass o
- castToPad :: GObjectClass obj => obj -> Pad
- gTypePad :: GType
- data PadFlags
- data PadDirection
- = PadUnknown
- | PadSrc
- | PadSink
- data PadLinkReturn
- data FlowReturn
- data ActivateMode
- padGetFlags :: PadClass padT => padT -> IO [PadFlags]
- padSetFlags :: PadClass padT => padT -> [PadFlags] -> IO ()
- padUnsetFlags :: PadClass padT => padT -> [PadFlags] -> IO ()
- padNew :: String -> PadDirection -> IO Pad
- padGetDirection :: PadClass pad => pad -> IO PadDirection
- padGetParentElement :: PadClass pad => pad -> IO Element
- padLink :: (PadClass srcpad, PadClass sinkpad) => srcpad -> sinkpad -> IO PadLinkReturn
- padUnlink :: (PadClass srcpad, PadClass sinkpad) => srcpad -> sinkpad -> IO Bool
- padIsLinked :: PadClass pad => pad -> IO Bool
- padCanLink :: (PadClass srcpad, PadClass sinkpad) => srcpad -> sinkpad -> IO Bool
- padGetCaps :: PadClass pad => pad -> IO Caps
- padGetAllowedCaps :: PadClass pad => pad -> IO (Maybe Caps)
- padGetNegotiatedCaps :: PadClass pad => pad -> IO (Maybe Caps)
- padGetPadTemplateCaps :: PadClass pad => pad -> IO Caps
- padSetCaps :: PadClass pad => pad -> Maybe Caps -> IO Bool
- padGetPeer :: PadClass pad => pad -> IO (Maybe Pad)
- padPeerGetCaps :: PadClass pad => pad -> IO (Maybe Caps)
- padIsActive :: PadClass pad => pad -> IO Bool
- padSetBlocked :: PadClass pad => pad -> Bool -> IO Bool
- padIsBlocked :: PadClass pad => pad -> IO Bool
- padIsBlocking :: PadClass pad => pad -> IO Bool
- padNewFromTemplate :: PadTemplateClass padTemplate => padTemplate -> String -> IO (Maybe Pad)
- padAcceptCaps :: PadClass pad => pad -> Caps -> IO Bool
- padProxyGetcaps :: PadClass pad => pad -> IO Caps
- padFixateCaps :: PadClass pad => pad -> Caps -> IO Caps
- padPeerAcceptCaps :: PadClass pad => pad -> Caps -> IO Bool
- padSendEvent :: (PadClass pad, EventClass event) => pad -> event -> IO Bool
- padQuery :: (PadClass pad, QueryClass query) => pad -> query -> IO (Maybe query)
- padQueryPosition :: PadClass pad => pad -> IO (Maybe (Format, Int64))
- padQueryDuration :: PadClass pad => pad -> IO (Maybe (Format, Int64))
- padQueryConvert :: PadClass pad => pad -> Format -> Int64 -> IO (Maybe (Format, Int64))
- padQueryPeerPosition :: PadClass pad => pad -> IO (Maybe (Format, Int64))
- padQueryPeerDuration :: PadClass pad => pad -> IO (Maybe (Format, Int64))
- padQueryPeerConvert :: PadClass pad => pad -> Format -> Int64 -> IO (Maybe (Format, Int64))
- padGetQueryTypes :: PadClass pad => pad -> IO [QueryType]
- onPadLinked :: PadClass pad => pad -> (Pad -> IO ()) -> IO (ConnectId pad)
- afterPadLinked :: PadClass pad => pad -> (Pad -> IO ()) -> IO (ConnectId pad)
- onPadRequestLink :: PadClass pad => pad -> IO () -> IO (ConnectId pad)
- afterPadRequestLink :: PadClass pad => pad -> IO () -> IO (ConnectId pad)
- onPadUnlinked :: PadClass pad => pad -> (Pad -> IO ()) -> IO (ConnectId pad)
- afterPadUnlinked :: PadClass pad => pad -> (Pad -> IO ()) -> IO (ConnectId pad)
- padCaps :: PadClass pad => ReadAttr pad Caps
- padDirection :: PadClass pad => ReadAttr pad PadDirection
- padTemplate :: PadClass pad => ReadAttr pad PadTemplate
Documentation
castToPad :: GObjectClass obj => obj -> Pad Source
The flags that a Pad
may have.
PadBlocked | dataflow on the pad is blocked |
PadFlushing | the pad is refusing buffers |
PadInGetCaps |
|
PadInSetCaps |
|
PadBlocking | the pad is blocking on a buffer or event |
data PadDirection Source
data PadLinkReturn Source
data FlowReturn Source
data ActivateMode Source
padGetFlags :: PadClass padT => padT -> IO [PadFlags] Source
padSetFlags :: PadClass padT => padT -> [PadFlags] -> IO () Source
padUnsetFlags :: PadClass padT => padT -> [PadFlags] -> IO () Source
padGetDirection :: PadClass pad => pad -> IO PadDirection Source
padGetParentElement :: PadClass pad => pad -> IO Element Source
padIsLinked :: PadClass pad => pad -> IO Bool Source
padGetCaps :: PadClass pad => pad -> IO Caps Source
padGetPadTemplateCaps :: PadClass pad => pad -> IO Caps Source
padIsActive :: PadClass pad => pad -> IO Bool Source
padIsBlocked :: PadClass pad => pad -> IO Bool Source
padIsBlocking :: PadClass pad => pad -> IO Bool Source
padNewFromTemplate :: PadTemplateClass padTemplate => padTemplate -> String -> IO (Maybe Pad) Source
padProxyGetcaps :: PadClass pad => pad -> IO Caps Source
padSendEvent :: (PadClass pad, EventClass event) => pad -> event -> IO Bool Source
padGetQueryTypes :: PadClass pad => pad -> IO [QueryType] Source
padDirection :: PadClass pad => ReadAttr pad PadDirection Source
padTemplate :: PadClass pad => ReadAttr pad PadTemplate Source