GUI Invoker

Classes:

InvokeEvent(fn, *args, **kwargs)

Sends signals to the main QT thread from spawned message threads

Invoker(self[, parent])

Wrapper that calls an evoked event made by InvokeEvent

Functions:

get_invoker()

class InvokeEvent(fn, *args, **kwargs)[source]

Bases: QEvent

Sends signals to the main QT thread from spawned message threads

See stackoverflow

Accepts a function, its args and kwargs and wraps them as a QtCore.QEvent

Attributes:

EVENT_TYPE

EVENT_TYPE = 65535
class Invoker(self, parent: PySide6.QtCore.QObject | None = None)[source]

Bases: QObject

Wrapper that calls an evoked event made by InvokeEvent

Initialize self. See help(type(self)) for accurate signature.

Methods:

event(event)

Parameters:

event

Attributes:

staticMetaObject

event(event)[source]
Parameters:

event

staticMetaObject = PySide6.QtCore.QMetaObject("Invoker" inherits "QObject": )
get_invoker()[source]