Skip to content

AbstractNativeEventFilter

Qt Base Class: QAbstractNativeEventFilter

Signature: QAbstractNativeEventFilter(self) -> None

Base classes

Name Children Inherits
QAbstractNativeEventFilter
PySide6.QtCore
QAbstractNativeEventFilter(self) -> None

⋔ Inheritance diagram

graph TD
  1473299795504["core.AbstractNativeEventFilter"]
  1473289049152["QtCore.QAbstractNativeEventFilter"]
  1473291690208["Shiboken.Object"]
  140713234304496["builtins.object"]
  1473289049152 --> 1473299795504
  1473291690208 --> 1473289049152
  140713234304496 --> 1473291690208

🛈 DocStrings

Bases: QAbstractNativeEventFilter

Interface for receiving native events, such as MSG or XCB event structs.

Source code in prettyqt\core\abstractnativeeventfilter.py
class AbstractNativeEventFilter(QtCore.QAbstractNativeEventFilter):
    """Interface for receiving native events, such as MSG or XCB event structs."""

    def install(self):
        # theres also QCoreApplication::installNativeEventFilter. Not sure abt difference
        QtCore.QAbstractEventDispatcher.instance().installNativeEventFilter(self)