def set_size(self, size):
        size = QSize(*size)
        if size.isValid():
            self.widget.resize(size)
Set the size of the window.
dataset/ETHPy150Open nucleic/enaml/enaml/qt/qt_window.py/QtWindow.set_size