def set_geometry(self, rect):
        rect = QRect(*rect)
        if rect.isValid():
            self.widget.setGeometry(rect)
Set the geometry of the window.
dataset/ETHPy150Open nucleic/enaml/enaml/qt/qt_window.py/QtWindow.set_geometry