equal
deleted
inserted
replaced
772 def Delete(self): |
772 def Delete(self): |
773 self.Parent.DeleteCoil(self) |
773 self.Parent.DeleteCoil(self) |
774 |
774 |
775 # Unconnect input and output |
775 # Unconnect input and output |
776 def Clean(self): |
776 def Clean(self): |
777 self.Input.UnConnect() |
777 self.Input.UnConnect(delete = self.Parent.GetDrawingMode() == FREEDRAWING_MODE) |
778 self.Output.UnConnect() |
778 self.Output.UnConnect(delete = self.Parent.GetDrawingMode() == FREEDRAWING_MODE) |
779 |
779 |
780 # Refresh the size of text for name |
780 # Refresh the size of text for name |
781 def RefreshNameSize(self): |
781 def RefreshNameSize(self): |
782 if self.Name != "": |
782 if self.Name != "": |
783 self.NameSize = self.Parent.GetTextExtent(self.Name) |
783 self.NameSize = self.Parent.GetTextExtent(self.Name) |