Пример #1
0
Файл: matrix.py Проект: op3/hdtv
 def Insert(self, obj, ID=None):
     """
     Insert cut to internal dict
     """
     obj.color = self.color
     obj.dashed = True
     if ID is None:
         ID = self.activeID
     ID = DrawableManager.Insert(self, obj, ID)
     self.ActivateObject(ID)
     return ID
Пример #2
0
 def Insert(self, fit, ID=None):
     fit.spec = self
     return DrawableManager.Insert(self, fit, ID)