MCPcopy Index your code
hub / github.com/rawpython/remi / SIEMENSPlaceholder

Class SIEMENSPlaceholder

editor/widgets/__init__.py:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 from .toolbox_siemens import PLCSiemens, SiemensButton, BitStatusWidget, WordEditWidget, ByteViewWidget
46except Exception:
47 class SIEMENSPlaceholder(gui.Label):
48 icon = default_icon("missing SIEMENS")
49 def __init__(self, msg="In order to use Siemens widgets install python-snap7 \n" + traceback.format_exc()):
50 super(SIEMENSPlaceholder, self).__init__(msg)
51 self.css_white_space = 'pre'

Callers

nothing calls this directly

Calls 1

default_iconFunction · 0.70

Tested by

no test coverage detected