def _set_w(self, w):
        self._wrapped_widget = w
        self._invalidate()
Call the given callback when the stream is closed.
dataset/ETHPy150Open AnyMesh/anyMesh-Python/example/urwid/widget.py/WidgetWrap._set_w--crossover with--dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_server/src/tornado/iostream.py/BaseIOStream.set_close_callback