QWindowStateChangeEvent

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

Inheritance diagram of PySide2.QtGui.QWindowStateChangeEvent

Synopsis

Functions

Detailed Description

class PySide2.QtGui.QWindowStateChangeEvent(aOldState[, isOverride=false])
Parameters:
  • isOverride – bool

  • aOldStateWindowStates

PySide2.QtGui.QWindowStateChangeEvent.isOverride()
Return type:

bool

PySide2.QtGui.QWindowStateChangeEvent.oldState()
Return type:

WindowStates

Returns the state of the window before the change.