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 |
Bin
is an element that can contain other Element
, allowing them to be
managed as a group.
Pads from the child elements can be ghosted to the bin, see GhostPad
.
This makes the bin look like any other elements and enables creation of
higher-level abstraction elements.
A new Bin
is created with binNew
. Use a Pipeline
instead if you
want to create a toplevel bin because a normal bin doesn't have a bus or
handle clock distribution of its own.
After the bin has been created you will typically add elements to it with
binAdd
. You can remove elements with binRemove
.
An element can be retrieved from a bin with binGetByName
, using the
elements name. binGetByNameRecurseUp
is mainly used for internal
purposes and will query the parent bins when the element is not found in the
current bin.
An iterator of elements in a bin can be retrieved with
binIterateElements
. Various other iterators exist to retrieve the
elements in a bin.
objectUnref
is used to drop your reference to the bin.
The Bin
::element-added
signal is fired whenever a new element is added to
the bin. Likewise the Bin
::element-removed
signal is fired whenever an
element is removed from the bin.
<refsect2><title>Notes</title>
<para>
A Bin
internally intercepts every Message
posted by its children and
implements the following default behaviour for each of them:
<variablelist>
<varlistentry>
<term>GST_MESSAGE_EOS</term>
<listitem><para>This message is only posted by sinks in the PLAYING
state. If all sinks posted the EOS message, this bin will post and EOS
message upwards.</para></listitem>
</varlistentry>
<varlistentry>
<term>GST_MESSAGE_SEGMENT_START</term>
<listitem><para>just collected and never forwarded upwards.
The messages are used to decide when all elements have completed playback
of their segment.</para></listitem>
</varlistentry>
<varlistentry>
<term>GST_MESSAGE_SEGMENT_DONE</term>
<listitem><para> Is posted by Bin
when all elements that posted
a SEGMENT_START have posted a SEGMENT_DONE.</para></listitem>
</varlistentry>
<varlistentry>
<term>GST_MESSAGE_DURATION_CHANGED</term>
<listitem><para> Is posted by an element that detected a change
in the stream duration. The default bin behaviour is to clear any
cached duration values so that the next duration query will perform
a full duration recalculation. The duration change is posted to the
application so that it can refetch the new duration with a duration
query. Note that these messages can be posted before the bin is
prerolled, in which case the duration query might fail.
</para></listitem>
</varlistentry>
<varlistentry>
<term>GST_MESSAGE_CLOCK_LOST</term>
<listitem><para> This message is posted by an element when it
can no longer provide a clock. The default bin behaviour is to
check if the lost clock was the one provided by the bin. If so and
the bin is currently in the PLAYING state, the message is forwarded to
the bin parent.
This message is also generated when a clock provider is removed from
the bin. If this message is received by the application, it should
PAUSE the pipeline and set it back to PLAYING to force a new clock
distribution.
</para></listitem>
</varlistentry>
<varlistentry>
<term>GST_MESSAGE_CLOCK_PROVIDE</term>
<listitem><para> This message is generated when an element
can provide a clock. This mostly happens when a new clock
provider is added to the bin. The default behaviour of the bin is to
mark the currently selected clock as dirty, which will perform a clock
recalculation the next time the bin is asked to provide a clock.
This message is never sent tot the application but is forwarded to
the parent of the bin.
</para></listitem>
</varlistentry>
<varlistentry>
<term>OTHERS</term>
<listitem><para> posted upwards.</para></listitem>
</varlistentry>
</variablelist>
A Bin
implements the following default behaviour for answering to a
Query
:
<variablelist>
<varlistentry>
<term>GST_QUERY_DURATION</term>
<listitem><para>If the query has been asked before with the same format
and the bin is a toplevel bin (ie. has no parent),
use the cached previous value. If no previous value was cached, the
query is sent to all sink elements in the bin and the MAXIMUM of all
values is returned. If the bin is a toplevel bin the value is cached.
If no sinks are available in the bin, the query fails.
</para></listitem>
</varlistentry>
<varlistentry>
<term>GST_QUERY_POSITION</term>
<listitem><para>The query is sent to all sink elements in the bin and the
MAXIMUM of all values is returned. If no sinks are available in the bin,
the query fails.
</para></listitem>
</varlistentry>
<varlistentry>
<term>OTHERS</term>
<listitem><para>the query is forwarded to all sink elements, the result
of the first sink that answers the query successfully is returned. If no
sink is in the bin, the query fails.</para></listitem>
</varlistentry>
</variablelist>
A Bin
will by default forward any event sent to it to all sink elements.
If all the sinks return True
, the bin will also return True
, else False
is
returned. If no sinks are in the bin, the event handler will return True
.
</para> </refsect2>
- newtype Bin = Bin (ManagedPtr Bin)
- class GObject o => IsBin o
- toBin :: IsBin o => o -> IO Bin
- noBin :: Maybe Bin
- data BinAddMethodInfo
- binAdd :: (HasCallStack, MonadIO m, IsBin a, IsElement b) => a -> b -> m Bool
- data BinFindUnlinkedPadMethodInfo
- binFindUnlinkedPad :: (HasCallStack, MonadIO m, IsBin a) => a -> PadDirection -> m (Maybe Pad)
- data BinGetByInterfaceMethodInfo
- binGetByInterface :: (HasCallStack, MonadIO m, IsBin a) => a -> GType -> m Element
- data BinGetByNameMethodInfo
- binGetByName :: (HasCallStack, MonadIO m, IsBin a) => a -> Text -> m (Maybe Element)
- data BinGetByNameRecurseUpMethodInfo
- binGetByNameRecurseUp :: (HasCallStack, MonadIO m, IsBin a) => a -> Text -> m (Maybe Element)
- data BinGetSuppressedFlagsMethodInfo
- binGetSuppressedFlags :: (HasCallStack, MonadIO m, IsBin a) => a -> m [ElementFlags]
- data BinIterateAllByInterfaceMethodInfo
- binIterateAllByInterface :: (HasCallStack, MonadIO m, IsBin a) => a -> GType -> m (Maybe Iterator)
- data BinIterateElementsMethodInfo
- binIterateElements :: (HasCallStack, MonadIO m, IsBin a) => a -> m (Maybe Iterator)
- data BinIterateRecurseMethodInfo
- binIterateRecurse :: (HasCallStack, MonadIO m, IsBin a) => a -> m (Maybe Iterator)
- data BinIterateSinksMethodInfo
- binIterateSinks :: (HasCallStack, MonadIO m, IsBin a) => a -> m (Maybe Iterator)
- data BinIterateSortedMethodInfo
- binIterateSorted :: (HasCallStack, MonadIO m, IsBin a) => a -> m (Maybe Iterator)
- data BinIterateSourcesMethodInfo
- binIterateSources :: (HasCallStack, MonadIO m, IsBin a) => a -> m (Maybe Iterator)
- binNew :: (HasCallStack, MonadIO m) => Maybe Text -> m Bin
- data BinRecalculateLatencyMethodInfo
- binRecalculateLatency :: (HasCallStack, MonadIO m, IsBin a) => a -> m Bool
- data BinRemoveMethodInfo
- binRemove :: (HasCallStack, MonadIO m, IsBin a, IsElement b) => a -> b -> m Bool
- data BinSetSuppressedFlagsMethodInfo
- binSetSuppressedFlags :: (HasCallStack, MonadIO m, IsBin a) => a -> [ElementFlags] -> m ()
- data BinSyncChildrenStatesMethodInfo
- binSyncChildrenStates :: (HasCallStack, MonadIO m, IsBin a) => a -> m Bool
- data BinAsyncHandlingPropertyInfo
- binAsyncHandling :: AttrLabelProxy "asyncHandling"
- constructBinAsyncHandling :: IsBin o => Bool -> IO (GValueConstruct o)
- getBinAsyncHandling :: (MonadIO m, IsBin o) => o -> m Bool
- setBinAsyncHandling :: (MonadIO m, IsBin o) => o -> Bool -> m ()
- data BinMessageForwardPropertyInfo
- binMessageForward :: AttrLabelProxy "messageForward"
- constructBinMessageForward :: IsBin o => Bool -> IO (GValueConstruct o)
- getBinMessageForward :: (MonadIO m, IsBin o) => o -> m Bool
- setBinMessageForward :: (MonadIO m, IsBin o) => o -> Bool -> m ()
- type BinDeepElementAddedCallback = Bin -> Element -> IO ()
- data BinDeepElementAddedSignalInfo
- type C_BinDeepElementAddedCallback = Ptr () -> Ptr Bin -> Ptr Element -> Ptr () -> IO ()
- afterBinDeepElementAdded :: (GObject a, MonadIO m) => a -> BinDeepElementAddedCallback -> m SignalHandlerId
- genClosure_BinDeepElementAdded :: BinDeepElementAddedCallback -> IO Closure
- mk_BinDeepElementAddedCallback :: C_BinDeepElementAddedCallback -> IO (FunPtr C_BinDeepElementAddedCallback)
- noBinDeepElementAddedCallback :: Maybe BinDeepElementAddedCallback
- onBinDeepElementAdded :: (GObject a, MonadIO m) => a -> BinDeepElementAddedCallback -> m SignalHandlerId
- wrap_BinDeepElementAddedCallback :: BinDeepElementAddedCallback -> Ptr () -> Ptr Bin -> Ptr Element -> Ptr () -> IO ()
- type BinDeepElementRemovedCallback = Bin -> Element -> IO ()
- data BinDeepElementRemovedSignalInfo
- type C_BinDeepElementRemovedCallback = Ptr () -> Ptr Bin -> Ptr Element -> Ptr () -> IO ()
- afterBinDeepElementRemoved :: (GObject a, MonadIO m) => a -> BinDeepElementRemovedCallback -> m SignalHandlerId
- genClosure_BinDeepElementRemoved :: BinDeepElementRemovedCallback -> IO Closure
- mk_BinDeepElementRemovedCallback :: C_BinDeepElementRemovedCallback -> IO (FunPtr C_BinDeepElementRemovedCallback)
- noBinDeepElementRemovedCallback :: Maybe BinDeepElementRemovedCallback
- onBinDeepElementRemoved :: (GObject a, MonadIO m) => a -> BinDeepElementRemovedCallback -> m SignalHandlerId
- wrap_BinDeepElementRemovedCallback :: BinDeepElementRemovedCallback -> Ptr () -> Ptr Bin -> Ptr Element -> Ptr () -> IO ()
- type BinDoLatencyCallback = IO Bool
- data BinDoLatencySignalInfo
- type C_BinDoLatencyCallback = Ptr () -> Ptr () -> IO CInt
- afterBinDoLatency :: (GObject a, MonadIO m) => a -> BinDoLatencyCallback -> m SignalHandlerId
- genClosure_BinDoLatency :: BinDoLatencyCallback -> IO Closure
- mk_BinDoLatencyCallback :: C_BinDoLatencyCallback -> IO (FunPtr C_BinDoLatencyCallback)
- noBinDoLatencyCallback :: Maybe BinDoLatencyCallback
- onBinDoLatency :: (GObject a, MonadIO m) => a -> BinDoLatencyCallback -> m SignalHandlerId
- wrap_BinDoLatencyCallback :: BinDoLatencyCallback -> Ptr () -> Ptr () -> IO CInt
- type BinElementAddedCallback = Element -> IO ()
- data BinElementAddedSignalInfo
- type C_BinElementAddedCallback = Ptr () -> Ptr Element -> Ptr () -> IO ()
- afterBinElementAdded :: (GObject a, MonadIO m) => a -> BinElementAddedCallback -> m SignalHandlerId
- genClosure_BinElementAdded :: BinElementAddedCallback -> IO Closure
- mk_BinElementAddedCallback :: C_BinElementAddedCallback -> IO (FunPtr C_BinElementAddedCallback)
- noBinElementAddedCallback :: Maybe BinElementAddedCallback
- onBinElementAdded :: (GObject a, MonadIO m) => a -> BinElementAddedCallback -> m SignalHandlerId
- wrap_BinElementAddedCallback :: BinElementAddedCallback -> Ptr () -> Ptr Element -> Ptr () -> IO ()
- type BinElementRemovedCallback = Element -> IO ()
- data BinElementRemovedSignalInfo
- type C_BinElementRemovedCallback = Ptr () -> Ptr Element -> Ptr () -> IO ()
- afterBinElementRemoved :: (GObject a, MonadIO m) => a -> BinElementRemovedCallback -> m SignalHandlerId
- genClosure_BinElementRemoved :: BinElementRemovedCallback -> IO Closure
- mk_BinElementRemovedCallback :: C_BinElementRemovedCallback -> IO (FunPtr C_BinElementRemovedCallback)
- noBinElementRemovedCallback :: Maybe BinElementRemovedCallback
- onBinElementRemoved :: (GObject a, MonadIO m) => a -> BinElementRemovedCallback -> m SignalHandlerId
- wrap_BinElementRemovedCallback :: BinElementRemovedCallback -> Ptr () -> Ptr Element -> Ptr () -> IO ()
Exported types
Bin (ManagedPtr Bin) |
GObject Bin Source # | |
IsObject Bin Source # | |
IsObject Bin Source # | |
IsElement Bin Source # | |
IsBin Bin Source # | |
IsChildProxy 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 # | |
HasAttributeList * Bin Source # | |
type AttributeList Bin Source # | |
type SignalList Bin Source # | |
Methods
add
data BinAddMethodInfo Source #
((~) * signature (b -> m Bool), MonadIO m, IsBin a, IsElement b) => MethodInfo * BinAddMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsBin a, IsElement b) | |
=> a |
|
-> b |
|
-> m Bool | Returns: |
Adds the given element to the bin. Sets the element's parent, and thus takes ownership of the element. An element can only be added to one bin.
If the element's pads are linked to other pads, the pads will be unlinked before the element is added to the bin.
<note>
When you add an element to an already-running pipeline, you will have to
take care to set the state of the newly-added element to the desired
state (usually PLAYING or PAUSED, same you set the pipeline to originally)
with elementSetState
, or use elementSyncStateWithParent
.
The bin or pipeline will not take care of this for you.
</note>
MT safe.
findUnlinkedPad
data BinFindUnlinkedPadMethodInfo Source #
((~) * signature (PadDirection -> m (Maybe Pad)), MonadIO m, IsBin a) => MethodInfo * BinFindUnlinkedPadMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsBin a) | |
=> a |
|
-> PadDirection |
|
-> m (Maybe Pad) | Returns: unlinked pad of the given
direction, |
Recursively looks for elements with an unlinked pad of the given
direction within the specified bin and returns an unlinked pad
if one is found, or Nothing
otherwise. If a pad is found, the caller
owns a reference to it and should use objectUnref
on the
pad when it is not needed any longer.
getByInterface
data BinGetByInterfaceMethodInfo Source #
((~) * signature (GType -> m Element), MonadIO m, IsBin a) => MethodInfo * BinGetByInterfaceMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsBin a) | |
=> a |
|
-> GType |
|
-> m Element | Returns: A |
Looks for an element inside the bin that implements the given
interface. If such an element is found, it returns the element.
You can cast this element to the given interface afterwards. If you want
all elements that implement the interface, use
binIterateAllByInterface
. This function recurses into child bins.
MT safe. Caller owns returned reference.
getByName
:: (HasCallStack, MonadIO m, IsBin a) | |
=> a |
|
-> Text |
|
-> m (Maybe Element) |
Gets the element with the given name from a bin. This function recurses into child bins.
Returns Nothing
if no element with the given name is found in the bin.
MT safe. Caller owns returned reference.
getByNameRecurseUp
binGetByNameRecurseUp Source #
:: (HasCallStack, MonadIO m, IsBin a) | |
=> a |
|
-> Text |
|
-> m (Maybe Element) |
Gets the element with the given name from this bin. If the element is not found, a recursion is performed on the parent bin.
Returns Nothing
if:
- no element with the given name is found in the bin
MT safe. Caller owns returned reference.
getSuppressedFlags
data BinGetSuppressedFlagsMethodInfo Source #
((~) * signature (m [ElementFlags]), MonadIO m, IsBin a) => MethodInfo * BinGetSuppressedFlagsMethodInfo a signature Source # | |
binGetSuppressedFlags Source #
:: (HasCallStack, MonadIO m, IsBin a) | |
=> a |
|
-> m [ElementFlags] | Returns: the bin's suppressed |
Return the suppressed flags of the bin.
MT safe.
Since: 1.10
iterateAllByInterface
binIterateAllByInterface Source #
:: (HasCallStack, MonadIO m, IsBin a) | |
=> a |
|
-> GType |
|
-> m (Maybe Iterator) | Returns: a |
Looks for all elements inside the bin that implements the given
interface. You can safely cast all returned elements to the given interface.
The function recurses inside child bins. The iterator will yield a series
of Element
that should be unreffed after use.
MT safe. Caller owns returned value.
iterateElements
data BinIterateElementsMethodInfo Source #
((~) * signature (m (Maybe Iterator)), MonadIO m, IsBin a) => MethodInfo * BinIterateElementsMethodInfo a signature Source # | |
Gets an iterator for the elements in this bin.
MT safe. Caller owns returned value.
iterateRecurse
data BinIterateRecurseMethodInfo Source #
((~) * signature (m (Maybe Iterator)), MonadIO m, IsBin a) => MethodInfo * BinIterateRecurseMethodInfo a signature Source # | |
Gets an iterator for the elements in this bin. This iterator recurses into GstBin children.
MT safe. Caller owns returned value.
iterateSinks
data BinIterateSinksMethodInfo Source #
((~) * signature (m (Maybe Iterator)), MonadIO m, IsBin a) => MethodInfo * BinIterateSinksMethodInfo a signature Source # | |
Gets an iterator for all elements in the bin that have the
GST_ELEMENT_FLAG_SINK
flag set.
MT safe. Caller owns returned value.
iterateSorted
data BinIterateSortedMethodInfo Source #
((~) * signature (m (Maybe Iterator)), MonadIO m, IsBin a) => MethodInfo * BinIterateSortedMethodInfo a signature Source # | |
Gets an iterator for the elements in this bin in topologically sorted order. This means that the elements are returned from the most downstream elements (sinks) to the sources.
This function is used internally to perform the state changes of the bin elements and for clock selection.
MT safe. Caller owns returned value.
iterateSources
data BinIterateSourcesMethodInfo Source #
((~) * signature (m (Maybe Iterator)), MonadIO m, IsBin a) => MethodInfo * BinIterateSourcesMethodInfo a signature Source # | |
Gets an iterator for all elements in the bin that have the
GST_ELEMENT_FLAG_SOURCE
flag set.
MT safe. Caller owns returned value.
new
Creates a new bin with the given name.
recalculateLatency
data BinRecalculateLatencyMethodInfo Source #
((~) * signature (m Bool), MonadIO m, IsBin a) => MethodInfo * BinRecalculateLatencyMethodInfo a signature Source # | |
binRecalculateLatency Source #
:: (HasCallStack, MonadIO m, IsBin a) | |
=> a |
|
-> m Bool | Returns: |
Query bin
for the current latency using and reconfigures this latency to all the
elements with a LATENCY event.
This method is typically called on the pipeline when a GST_MESSAGE_LATENCY
is posted on the bus.
This function simply emits the 'do-latency' signal so any custom latency calculations will be performed.
remove
data BinRemoveMethodInfo Source #
((~) * signature (b -> m Bool), MonadIO m, IsBin a, IsElement b) => MethodInfo * BinRemoveMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsBin a, IsElement b) | |
=> a |
|
-> b |
|
-> m Bool | Returns: |
Removes the element from the bin, unparenting it as well.
Unparenting the element means that the element will be dereferenced,
so if the bin holds the only reference to the element, the element
will be freed in the process of removing it from the bin. If you
want the element to still exist after removing, you need to call
objectRef
before removing it from the bin.
If the element's pads are linked to other pads, the pads will be unlinked before the element is removed from the bin.
MT safe.
setSuppressedFlags
data BinSetSuppressedFlagsMethodInfo Source #
((~) * signature ([ElementFlags] -> m ()), MonadIO m, IsBin a) => MethodInfo * BinSetSuppressedFlagsMethodInfo a signature Source # | |
binSetSuppressedFlags Source #
:: (HasCallStack, MonadIO m, IsBin a) | |
=> a |
|
-> [ElementFlags] |
|
-> m () |
Suppress the given flags on the bin. ElementFlags
of a
child element are propagated when it is added to the bin.
When suppressed flags are set, those specified flags will
not be propagated to the bin.
MT safe.
Since: 1.10
syncChildrenStates
data BinSyncChildrenStatesMethodInfo Source #
((~) * signature (m Bool), MonadIO m, IsBin a) => MethodInfo * BinSyncChildrenStatesMethodInfo a signature Source # | |
binSyncChildrenStates Source #
:: (HasCallStack, MonadIO m, IsBin a) | |
=> a |
|
-> m Bool | Returns: |
Synchronizes the state of every child of bin
with the state
of bin
. See also elementSyncStateWithParent
.
Since: 1.6
Properties
asyncHandling
data BinAsyncHandlingPropertyInfo Source #
binAsyncHandling :: AttrLabelProxy "asyncHandling" Source #
constructBinAsyncHandling :: IsBin o => Bool -> IO (GValueConstruct o) Source #
messageForward
data BinMessageForwardPropertyInfo Source #
binMessageForward :: AttrLabelProxy "messageForward" Source #
constructBinMessageForward :: IsBin o => Bool -> IO (GValueConstruct o) Source #
Signals
deepElementAdded
afterBinDeepElementAdded :: (GObject a, MonadIO m) => a -> BinDeepElementAddedCallback -> m SignalHandlerId Source #
mk_BinDeepElementAddedCallback :: C_BinDeepElementAddedCallback -> IO (FunPtr C_BinDeepElementAddedCallback) Source #
onBinDeepElementAdded :: (GObject a, MonadIO m) => a -> BinDeepElementAddedCallback -> m SignalHandlerId Source #
wrap_BinDeepElementAddedCallback :: BinDeepElementAddedCallback -> Ptr () -> Ptr Bin -> Ptr Element -> Ptr () -> IO () Source #
deepElementRemoved
afterBinDeepElementRemoved :: (GObject a, MonadIO m) => a -> BinDeepElementRemovedCallback -> m SignalHandlerId Source #
mk_BinDeepElementRemovedCallback :: C_BinDeepElementRemovedCallback -> IO (FunPtr C_BinDeepElementRemovedCallback) Source #
onBinDeepElementRemoved :: (GObject a, MonadIO m) => a -> BinDeepElementRemovedCallback -> m SignalHandlerId Source #
wrap_BinDeepElementRemovedCallback :: BinDeepElementRemovedCallback -> Ptr () -> Ptr Bin -> Ptr Element -> Ptr () -> IO () Source #
doLatency
type BinDoLatencyCallback = IO Bool Source #
afterBinDoLatency :: (GObject a, MonadIO m) => a -> BinDoLatencyCallback -> m SignalHandlerId Source #
onBinDoLatency :: (GObject a, MonadIO m) => a -> BinDoLatencyCallback -> m SignalHandlerId Source #
wrap_BinDoLatencyCallback :: BinDoLatencyCallback -> Ptr () -> Ptr () -> IO CInt Source #
elementAdded
type BinElementAddedCallback = Element -> IO () Source #
afterBinElementAdded :: (GObject a, MonadIO m) => a -> BinElementAddedCallback -> m SignalHandlerId Source #
mk_BinElementAddedCallback :: C_BinElementAddedCallback -> IO (FunPtr C_BinElementAddedCallback) Source #
onBinElementAdded :: (GObject a, MonadIO m) => a -> BinElementAddedCallback -> m SignalHandlerId Source #
wrap_BinElementAddedCallback :: BinElementAddedCallback -> Ptr () -> Ptr Element -> Ptr () -> IO () Source #
elementRemoved
type BinElementRemovedCallback = Element -> IO () Source #
afterBinElementRemoved :: (GObject a, MonadIO m) => a -> BinElementRemovedCallback -> m SignalHandlerId Source #
mk_BinElementRemovedCallback :: C_BinElementRemovedCallback -> IO (FunPtr C_BinElementRemovedCallback) Source #
onBinElementRemoved :: (GObject a, MonadIO m) => a -> BinElementRemovedCallback -> m SignalHandlerId Source #
wrap_BinElementRemovedCallback :: BinElementRemovedCallback -> Ptr () -> Ptr Element -> Ptr () -> IO () Source #