MCPcopy Create free account
hub / github.com/SLiCAP/SLiCAP_python / set_unconnected_pins

Method set_unconnected_pins

SLiCAP/schematic/component_item.py:726–731  ·  view source on GitHub ↗

Record which pin indices have nothing attached (scene calls this).

(self, indices: set[int])

Source from the content-addressed store, hash-verified

724 self.update()
725
726 def set_unconnected_pins(self, indices: set[int]) -> None:
727 """Record which pin indices have nothing attached (scene calls this)."""
728 new = set(indices)
729 if new != self._unconnected_pins:
730 self._unconnected_pins = new
731 self.update()
732
733 def mousePressEvent(self, event):
734 # Clicking the symbol body (not a label) clears the focused attribute,

Callers 1

_refresh_pin_markersMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected