Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype Bin = Bin (ForeignPtr Bin)
- class GObject o => BinK o
- toBin :: BinK o => o -> IO Bin
- noBin :: Maybe Bin
- data BinAddMethodInfo
- binAdd :: (MonadIO m, BinK a, ElementK b) => a -> b -> m Bool
- data BinFindUnlinkedPadMethodInfo
- binFindUnlinkedPad :: (MonadIO m, BinK a) => a -> PadDirection -> m Pad
- data BinGetByInterfaceMethodInfo
- binGetByInterface :: (MonadIO m, BinK a) => a -> GType -> m Element
- data BinGetByNameMethodInfo
- binGetByName :: (MonadIO m, BinK a) => a -> Text -> m Element
- data BinGetByNameRecurseUpMethodInfo
- binGetByNameRecurseUp :: (MonadIO m, BinK a) => a -> Text -> m Element
- data BinIterateAllByInterfaceMethodInfo
- binIterateAllByInterface :: (MonadIO m, BinK a) => a -> GType -> m Iterator
- data BinIterateElementsMethodInfo
- binIterateElements :: (MonadIO m, BinK a) => a -> m Iterator
- data BinIterateRecurseMethodInfo
- binIterateRecurse :: (MonadIO m, BinK a) => a -> m Iterator
- data BinIterateSinksMethodInfo
- binIterateSinks :: (MonadIO m, BinK a) => a -> m Iterator
- data BinIterateSortedMethodInfo
- binIterateSorted :: (MonadIO m, BinK a) => a -> m Iterator
- data BinIterateSourcesMethodInfo
- binIterateSources :: (MonadIO m, BinK a) => a -> m Iterator
- binNew :: MonadIO m => Maybe Text -> m Bin
- data BinRecalculateLatencyMethodInfo
- binRecalculateLatency :: (MonadIO m, BinK a) => a -> m Bool
- data BinRemoveMethodInfo
- binRemove :: (MonadIO m, BinK a, ElementK b) => a -> b -> m Bool
- data BinSyncChildrenStatesMethodInfo
- binSyncChildrenStates :: (MonadIO m, BinK a) => a -> m Bool
- data BinAsyncHandlingPropertyInfo
- constructBinAsyncHandling :: Bool -> IO ([Char], GValue)
- getBinAsyncHandling :: (MonadIO m, BinK o) => o -> m Bool
- setBinAsyncHandling :: (MonadIO m, BinK o) => o -> Bool -> m ()
- data BinMessageForwardPropertyInfo
- constructBinMessageForward :: Bool -> IO ([Char], GValue)
- getBinMessageForward :: (MonadIO m, BinK o) => o -> m Bool
- setBinMessageForward :: (MonadIO m, BinK o) => o -> Bool -> m ()
- type BinDoLatencyCallback = IO Bool
- type BinDoLatencyCallbackC = Ptr () -> Ptr () -> IO CInt
- data BinDoLatencySignalInfo
- afterBinDoLatency :: (GObject a, MonadIO m) => a -> BinDoLatencyCallback -> m SignalHandlerId
- binDoLatencyCallbackWrapper :: BinDoLatencyCallback -> Ptr () -> Ptr () -> IO CInt
- binDoLatencyClosure :: BinDoLatencyCallback -> IO Closure
- mkBinDoLatencyCallback :: BinDoLatencyCallbackC -> IO (FunPtr BinDoLatencyCallbackC)
- noBinDoLatencyCallback :: Maybe BinDoLatencyCallback
- onBinDoLatency :: (GObject a, MonadIO m) => a -> BinDoLatencyCallback -> m SignalHandlerId
- type BinElementAddedCallback = Element -> IO ()
- type BinElementAddedCallbackC = Ptr () -> Ptr Element -> Ptr () -> IO ()
- data BinElementAddedSignalInfo
- afterBinElementAdded :: (GObject a, MonadIO m) => a -> BinElementAddedCallback -> m SignalHandlerId
- binElementAddedCallbackWrapper :: BinElementAddedCallback -> Ptr () -> Ptr Element -> Ptr () -> IO ()
- binElementAddedClosure :: BinElementAddedCallback -> IO Closure
- mkBinElementAddedCallback :: BinElementAddedCallbackC -> IO (FunPtr BinElementAddedCallbackC)
- noBinElementAddedCallback :: Maybe BinElementAddedCallback
- onBinElementAdded :: (GObject a, MonadIO m) => a -> BinElementAddedCallback -> m SignalHandlerId
- type BinElementRemovedCallback = Element -> IO ()
- type BinElementRemovedCallbackC = Ptr () -> Ptr Element -> Ptr () -> IO ()
- data BinElementRemovedSignalInfo
- afterBinElementRemoved :: (GObject a, MonadIO m) => a -> BinElementRemovedCallback -> m SignalHandlerId
- binElementRemovedCallbackWrapper :: BinElementRemovedCallback -> Ptr () -> Ptr Element -> Ptr () -> IO ()
- binElementRemovedClosure :: BinElementRemovedCallback -> IO Closure
- mkBinElementRemovedCallback :: BinElementRemovedCallbackC -> IO (FunPtr BinElementRemovedCallbackC)
- noBinElementRemovedCallback :: Maybe BinElementRemovedCallback
- onBinElementRemoved :: (GObject a, MonadIO m) => a -> BinElementRemovedCallback -> m SignalHandlerId
Exported types
Bin (ForeignPtr Bin) |
GObject Bin Source | |
((~) * info (ResolveBinMethod t Bin), MethodInfo * info Bin p) => IsLabel t (Bin -> p) Source | |
((~) * info (ResolveBinMethod t Bin), MethodInfo * info Bin p) => IsLabelProxy t (Bin -> p) Source | |
type ParentTypes Bin Source | |
type AttributeList Bin Source | |
type SignalList Bin Source |
Methods
binAdd
data BinAddMethodInfo Source
binFindUnlinkedPad
data BinFindUnlinkedPadMethodInfo Source
((~) (TYPE Lifted) signature (PadDirection -> m Pad), MonadIO m, BinK a) => MethodInfo (TYPE Lifted) BinFindUnlinkedPadMethodInfo a signature Source | |
binFindUnlinkedPad :: (MonadIO m, BinK a) => a -> PadDirection -> m Pad Source
binGetByInterface
binGetByName
binGetByNameRecurseUp
binIterateAllByInterface
binIterateElements
data BinIterateElementsMethodInfo Source
((~) (TYPE Lifted) signature (m Iterator), MonadIO m, BinK a) => MethodInfo (TYPE Lifted) BinIterateElementsMethodInfo a signature Source | |
binIterateElements :: (MonadIO m, BinK a) => a -> m Iterator Source
binIterateRecurse
data BinIterateRecurseMethodInfo Source
((~) (TYPE Lifted) signature (m Iterator), MonadIO m, BinK a) => MethodInfo (TYPE Lifted) BinIterateRecurseMethodInfo a signature Source | |
binIterateRecurse :: (MonadIO m, BinK a) => a -> m Iterator Source
binIterateSinks
data BinIterateSinksMethodInfo Source
((~) (TYPE Lifted) signature (m Iterator), MonadIO m, BinK a) => MethodInfo (TYPE Lifted) BinIterateSinksMethodInfo a signature Source | |
binIterateSinks :: (MonadIO m, BinK a) => a -> m Iterator Source
binIterateSorted
data BinIterateSortedMethodInfo Source
((~) (TYPE Lifted) signature (m Iterator), MonadIO m, BinK a) => MethodInfo (TYPE Lifted) BinIterateSortedMethodInfo a signature Source | |
binIterateSorted :: (MonadIO m, BinK a) => a -> m Iterator Source
binIterateSources
data BinIterateSourcesMethodInfo Source
((~) (TYPE Lifted) signature (m Iterator), MonadIO m, BinK a) => MethodInfo (TYPE Lifted) BinIterateSourcesMethodInfo a signature Source | |
binIterateSources :: (MonadIO m, BinK a) => a -> m Iterator Source
binNew
binRecalculateLatency
data BinRecalculateLatencyMethodInfo Source
((~) (TYPE Lifted) signature (m Bool), MonadIO m, BinK a) => MethodInfo (TYPE Lifted) BinRecalculateLatencyMethodInfo a signature Source | |
binRecalculateLatency :: (MonadIO m, BinK a) => a -> m Bool Source
binRemove
binSyncChildrenStates
data BinSyncChildrenStatesMethodInfo Source
((~) (TYPE Lifted) signature (m Bool), MonadIO m, BinK a) => MethodInfo (TYPE Lifted) BinSyncChildrenStatesMethodInfo a signature Source | |
binSyncChildrenStates :: (MonadIO m, BinK a) => a -> m Bool Source
Properties
AsyncHandling
data BinAsyncHandlingPropertyInfo Source
AttrInfo BinAsyncHandlingPropertyInfo Source | |
type AttrLabel BinAsyncHandlingPropertyInfo = "async-handling" Source | |
type AttrGetType BinAsyncHandlingPropertyInfo = Bool Source | |
type AttrBaseTypeConstraint BinAsyncHandlingPropertyInfo = BinK Source | |
type AttrSetTypeConstraint BinAsyncHandlingPropertyInfo = TYPE Lifted ~ Bool Source | |
type AttrAllowedOps BinAsyncHandlingPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getBinAsyncHandling :: (MonadIO m, BinK o) => o -> m Bool Source
setBinAsyncHandling :: (MonadIO m, BinK o) => o -> Bool -> m () Source
MessageForward
data BinMessageForwardPropertyInfo Source
AttrInfo BinMessageForwardPropertyInfo Source | |
type AttrLabel BinMessageForwardPropertyInfo = "message-forward" Source | |
type AttrGetType BinMessageForwardPropertyInfo = Bool Source | |
type AttrBaseTypeConstraint BinMessageForwardPropertyInfo = BinK Source | |
type AttrSetTypeConstraint BinMessageForwardPropertyInfo = TYPE Lifted ~ Bool Source | |
type AttrAllowedOps BinMessageForwardPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getBinMessageForward :: (MonadIO m, BinK o) => o -> m Bool Source
setBinMessageForward :: (MonadIO m, BinK o) => o -> Bool -> m () Source
Signals
DoLatency
type BinDoLatencyCallback = IO Bool Source
afterBinDoLatency :: (GObject a, MonadIO m) => a -> BinDoLatencyCallback -> m SignalHandlerId Source
binDoLatencyCallbackWrapper :: BinDoLatencyCallback -> Ptr () -> Ptr () -> IO CInt Source
onBinDoLatency :: (GObject a, MonadIO m) => a -> BinDoLatencyCallback -> m SignalHandlerId Source
ElementAdded
type BinElementAddedCallback = Element -> IO () Source
afterBinElementAdded :: (GObject a, MonadIO m) => a -> BinElementAddedCallback -> m SignalHandlerId Source
binElementAddedCallbackWrapper :: BinElementAddedCallback -> Ptr () -> Ptr Element -> Ptr () -> IO () Source
mkBinElementAddedCallback :: BinElementAddedCallbackC -> IO (FunPtr BinElementAddedCallbackC) Source
onBinElementAdded :: (GObject a, MonadIO m) => a -> BinElementAddedCallback -> m SignalHandlerId Source
ElementRemoved
type BinElementRemovedCallback = Element -> IO () Source
afterBinElementRemoved :: (GObject a, MonadIO m) => a -> BinElementRemovedCallback -> m SignalHandlerId Source
binElementRemovedCallbackWrapper :: BinElementRemovedCallback -> Ptr () -> Ptr Element -> Ptr () -> IO () Source
mkBinElementRemovedCallback :: BinElementRemovedCallbackC -> IO (FunPtr BinElementRemovedCallbackC) Source
onBinElementRemoved :: (GObject a, MonadIO m) => a -> BinElementRemovedCallback -> m SignalHandlerId Source