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

Method value_to_feat

lantz/ui/widgets.py:157–163  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

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.
159 """
160 if self._feat is None or self._lantz_target is None:
161 return
162
163 self._feat.set(self._lantz_target, value=self.value(), key=self._feat_key)
164
165 @property
166 def readable(self):

Callers 2

on_set_clickedMethod · 0.80

Calls 2

valueMethod · 0.95
setMethod · 0.45

Tested by

no test coverage detected