MCPcopy Create free account
hub / github.com/LabPy/lantz / value_from_feat

Method value_from_feat

lantz/ui/widgets.py:149–155  ·  view source on GitHub ↗

Update the widget value with the current Feat value of the driver.

(self)

Source from the content-addressed store, hash-verified

147 super().setReadOnly(value)
148
149 def value_from_feat(self):
150 """Update the widget value with the current Feat value of the driver.
151 """
152 if self._feat is None or self._lantz_target is None:
153 return
154
155 self._feat.get(self._lantz_target, key=self._feat_key)
156
157 def value_to_feat(self):
158 """Update the Feat value of the driver with the widget value.

Callers 5

keyPressEventMethod · 0.95
feat_keyMethod · 0.95
lantz_targetMethod · 0.95
value_from_featMethod · 0.45
on_get_clickedMethod · 0.45

Calls 1

getMethod · 0.80

Tested by

no test coverage detected