MCPcopy Create free account
hub / github.com/NSLS2/PyXRF / __init__

Method __init__

pyxrf/gui_module/useful_widgets.py:88–93  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

86 focusOut = Signal()
87
88 def __init__(self, *args, **kwargs):
89 super().__init__(*args, **kwargs)
90 self._valid = True
91 self._style_sheet_valid = "" # By default, clear the style sheet
92 self._style_sheet_invalid = "color: rgb(255, 0, 0);"
93 self._update_valid_status()
94
95 def _update_valid_status(self):
96 if self._valid:

Callers

nothing calls this directly

Calls 2

_update_valid_statusMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected