pyQt6窗口状态枚举–WindowState

WindowState

例子:

window.setWindowState(Qt.WindowState.WindowMaximized)