Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 732 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 732 Bytes

Signal-slot framework in Python

Overview

The signal-slot framework can be used to statically create method callbacks without using interface superclasses in all mixin classes in the class hierarchy.

Slots can be registered to be called when a signal is called. Only the slots belonging to the actual instance will be called.

Slots will be called

  • with the same arguments as the arguments of the signal;
  • at the end of the call of the signal;

The execution order of the slots is not defined.

Usage

There is a detailed example in the python module. Test it by python -m doctest -v.

Note

The framework is publicated "AS IS", further development is not guaranteed.