QExposeEvent

The QExposeEvent class contains event parameters for expose events. More

Inheritance diagram of PySide6.QtGui.QExposeEvent

Synopsis

Functions

Detailed Description

Expose events are sent to windows when they move between the un-exposed and exposed states.

An exposed window is potentially visible to the user. If the window is moved off screen, is made totally obscured by another window, is minimized, or similar, an expose event is sent to the window, and isExposed() might change to false.

Expose events should not be used to paint. Handle QPaintEvent instead.

The event handler exposeEvent() receives expose events.

class PySide6.QtGui.QExposeEvent(arg__1)

PySide6.QtGui.QExposeEvent(m_region)

Parameters
PySide6.QtGui.QExposeEvent.region()
Return type

PySide6.QtGui.QRegion

Note

This function is deprecated.

Returns the window area that has been exposed. The region is given in local coordinates.