def add_callback(self, cb):
        self._callbacks.append(cb)
Register a new callback function to be invoked
dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py/FormElement.add_callback