colour.utilities.Callback#

class colour.utilities.Callback(name: str, function: Callable)[source]#

Bases: object

Define a callback.

Parameters:
  • name (str) – Callback name.

  • function (Callable) – Callback callable.

__eq__(other)#

Return self==value.

__hash__ = None#
__init__(name: str, function: Callable) None#
Parameters:
Return type:

None

__repr__()#

Return repr(self).

__weakref__#

list of weak references to the object