Button.setWindowModality Button.setWindowModality(self, windowModality: PySide6.QtCore.Qt.WindowModality) → None