def remove_handler(self, index, func): try: if isinstance(index, str): index = self.__class__._ltype.event_table[index] n = slist.remove(self._events[index], func) self._events[index] = n except Exception, ex: raise ex
def remove_child(self, child): assert isinstance(child, Object) self._children = slist.remove(self._children, child)