Bin.connectElementAdded
gulong connectElementAdded(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gst.element.Element)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gst.bin.Bin)))
&& Parameters!T.length < 3)Connect to ElementAdded signal.
Will be emitted after the element was added to the bin.
Parameters
callback | signal callback delegate or function to connect void callback(gst.element.Element element, gst.bin.Bin bin) element the #GstElement that was added to the bin (optional) bin the instance the signal is connected to (optional) |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID