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

Method on_widget_value_changed

lantz/ui/widgets.py:182–187  ·  view source on GitHub ↗

When the widget is changed by the user, update the driver with the new value.

(self, value, old_value=MISSING, other=MISSING)

Source from the content-addressed store, hash-verified

180
181 #@Slot()
182 def on_widget_value_changed(self, value, old_value=MISSING, other=MISSING):
183 """When the widget is changed by the user, update the driver with
184 the new value.
185 """
186 if self._update_on_change:
187 self.value_to_feat()
188
189 def on_feat_value_changed(self, value, old_value=MISSING, other=MISSING):
190 """When the driver value is changed, update the widget if necessary.

Callers

nothing calls this directly

Calls 1

value_to_featMethod · 0.95

Tested by

no test coverage detected