'Remove a function as a handler for an event.
:param name: The name of the event.
:param pointer: The function to remove as a handler.'

def del_event_handler(self, name, pointer):

    if (not (name in self.__event_handlers)):
        return
    def filter_pointers(handler):
        return (handler[0] != pointer)
    self.__event_handlers[name] = list(filter(filter_pointers, self.__event_handlers[name]))
