def delete(self): Control.delete(self) if self.swatch_label is not None: self.swatch_label.delete() self.swatch_label = None if self.swatch is not None: self.swatch.delete() self.swatch = None # deleted as part of layout if self.vlist is not None: self.vlist.delete() self.vlist = None self._delete_select_dialog()
def delete(self): Control.delete(self) if self.texture_vlist is not None: self.texture_vlist.delete() self.texture_vlist = None if self.resizer_vlist is not None: self.resizer_vlist.delete() self.resizer_vlist = None if self.limits_vlist is not None: self.limits_vlist.delete() self.limits_vlist = None self.texture_group = None