Form.windowState

Form.windowState(self) PySide2.QtCore.Qt.WindowStates