- class QChildWindowEvent#
The
QChildWindowEvent
class contains event parameters for child window changes. More…New in version 6.7.
Synopsis#
Methods#
def
__init__()
def
child()
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#
Child window events are sent to windows when children are added or removed.
In both cases you can only rely on the child being a
QWindow
— not any subclass thereof. This is because in the QEvent::ChildWindowAdded case the subclass is not yet fully constructed, and in the QEvent::ChildWindowRemoved case it might have already been destructed.Constructs a child window event object of a particular
type
for thechildWindow
.type
can be QEvent::ChildWindowAdded or QEvent::ChildWindowRemoved.See also
- __init__(arg__1)
- Parameters:
arg__1 –
QChildWindowEvent
Returns the child window that was added or removed.