class QWindowStateChangeEvent#

The QWindowStateChangeEvent class provides the window state before a window state change. More

Inheritance diagram of PySide6.QtGui.QWindowStateChangeEvent

Synopsis#

Methods#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

__init__(oldState[, isOverride=false])#
Parameters:
  • oldState – Combination of WindowState

  • isOverride – bool

__init__(arg__1)
Parameters:

arg__1QWindowStateChangeEvent

__repr__()#
Return type:

object

isOverride()#
Return type:

bool

oldState()#
Return type:

Combination of WindowState

Returns the state of the window before the change.