def __init__(self, cellId, path=None, cons=None, props=None): CellSkin.__init__(self, cellId, path or "", cons) self.canSeek = False self.imageReplaced = False self.fileNotFound = False self.sought = False self.posterImage = None
def __init__(self, cellId, text=None, cons=None, props=None, editable=True): CellSkin.__init__(self, cellId, text or "", cons, props) self.initData = self._data self.editable = editable
def remove(self, scene, cached=True): if self.loaded and not cached: self.initData = self.data CellSkin.remove(self, scene, cached)