def set_closable(self, closable):
        self.widget.setClosable(closable)
Set the closable flag for the underlying widget.
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_dock_item.py/QtDockItem.set_closable