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 QWindowStateChangeEvent(aOldState[, isOverride=false])
Parameters
  • isOverridebool

  • aOldStateWindowStates

PySide2.QtGui.QWindowStateChangeEvent.isOverride()
Return type

bool

PySide2.QtGui.QWindowStateChangeEvent.oldState()
Return type

WindowStates

Returns the state of the window before the change.