Widget.addOnDestroy

Signals that all holders of a reference to the widget should release the reference that they hold. May result in finalization of the widget if all references are released.

class Widget
void
addOnDestroy
(
void delegate dlg
,)

Meta