def keyPressEvent(self, event):
        if event.key() == Qt.Key_Escape:
            self.hide()
Hide window on escape key
dataset/ETHPy150Open glue-viz/glue/glue/app/qt/application.py/GlueLogger.keyPressEvent