def closeEvent(self, event):
        super(QCustomDockItem, self).closeEvent(event)
        if event.isAccepted():
            self.closed.emit()


# Guard flags
Clear the given flag or flags.
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_dock_item.py/QCustomDockItem.closeEvent--crossover with--dataset/ETHPy150Open MostAwesomeDude/construct/construct/core.py/Construct._clear_flag