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

Method bind_feat

lantz/ui/widgets.py:903–910  ·  view source on GitHub ↗
(self, feat)

Source from the content-addressed store, hash-verified

901 self.setEnabled(not value)
902
903 def bind_feat(self, feat):
904 super().bind_feat(feat)
905 if isinstance(self._feat.values, dict):
906 self.__values = list(self._feat.values.keys())
907 else:
908 self.__values = list(self.__values)
909 self.clear()
910 self.addItems([str(value) for value in self.__values])
911
912
913@register_wrapper

Callers

nothing calls this directly

Calls 3

bind_featMethod · 0.45
keysMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected