PlugsChange

Inheritance diagram of rumbapy.PlugsChange
class PlugsChange(plugs, handlers, call_on_creation=True)

This class register a python function in order to call it if one of the plugs is modified.

Constructors

__init__ x.__init__(…) initializes x; see help(type(x)) for signature
__init__(plugs, handlers, call_on_creation=True)

Constructor.

Parameters:
  • plugs – A plug (or plug list) to listen for modification.
  • handler – The handler to call if one of the plugs is modified.
  • call_on_creation – the handler is called on creation if true