def _register_handlers(self): """_register_handlers - attach to Leo signals """ DBG("\nregister handlers") for hook, handler in self.handlers: g.registerHandler(hook, handler) sig.connect(self.c, 'body_changed', self._after_body_key)