colour.utilities.Callback#
- class colour.utilities.Callback(name: str, function: Callable)[source]#
Bases:
objectRepresent a named callback with its associated callable function.
This dataclass encapsulates a callback’s identifying name and its callable function for use in event-driven callback systems.
- Parameters:
- __eq__(other)#
Return self==value.
- __hash__ = None#
- __repr__()#
Return repr(self).
- __weakref__#
list of weak references to the object