예제 #1
0
파일: base.py 프로젝트: theojulienne/lucid
 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
예제 #2
0
파일: base.py 프로젝트: theojulienne/lucid
 def remove_child(self, child):
     assert isinstance(child, Object)
     self._children = slist.remove(self._children, child)