GUI Invoker

Classes:

InvokeEvent(fn, *args, **kwargs)

Sends signals to the main QT thread from spawned message threads

Invoker

Wrapper that calls an evoked event made by InvokeEvent

Functions:

get_invoker()

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

Bases: PySide2.QtCore.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 = PySide2.QtCore.QEvent.Type(65533)
class Invoker[source]

Bases: PySide2.QtCore.QObject

Wrapper that calls an evoked event made by InvokeEvent

Methods:

event(event)

Parameters

event

Attributes:

staticMetaObject

event(event)[source]
Parameters

event

staticMetaObject = <PySide2.QtCore.QMetaObject object at 0x7fadcb54e640>
get_invoker()[source]