def register_controller_event(self, callback):
return self.lib.tdRegisterControllerEvent(callback)<EOL>
Register a new controller event callback handler.

        See :ref:`event-example` for more information.

        :return: the callback id