MCPcopy Index your code
hub / github.com/SLiCAP/SLiCAP_python / _on_place_label

Method _on_place_label

SLiCAP/schematic/window.py:514–518  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

512 self._scene.start_hyperlink_placement(dlg.url(), dlg.label())
513
514 def _on_place_label(self):
515 from .wire_item import WireItem
516 wires = [i for i in self._scene.selectedItems() if isinstance(i, WireItem)]
517 if wires:
518 self._scene._open_net_label(wires[0])
519
520 def _on_place_component(self, pre_select: str | None = None):
521 from .place_symbol_dialog import PlaceSymbolDialog

Callers

nothing calls this directly

Calls 1

_open_net_labelMethod · 0.80

Tested by

no test coverage detected