SignalListItemFactory.connectTeardown
gulong connectTeardown(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] : gobject.object.ObjectWrap)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.signal_list_item_factory.SignalListItemFactory)))
&& Parameters!T.length < 3)Connect to Teardown signal.
Emitted when an object is about to be destroyed.
It is the last signal ever emitted for this object.
This signal is the opposite of the [gtk.signal_list_item_factory.SignalListItemFactory.setup] signal and should be used to undo everything done in that signal.
Parameters
callback | signal callback delegate or function to connect void callback(gobject.object.ObjectWrap object, gtk.signal_list_item_factory.SignalListItemFactory signalListItemFactory) object The [gobject.object.ObjectWrap] to tear down (optional) signalListItemFactory 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