Form.setWindowState

Form.setWindowState(self, state: PySide2.QtCore.Qt.WindowStates) None