MCPcopy Index your code
hub / github.com/rawpython/remi / update_widget

Method update_widget

editor/editor_widgets.py:756–762  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

754 self.attributeGroups = {}
755
756 def update_widget(self):
757 for x, y in inspect.getmembers(self.__ref_widget.__class__):
758 if type(y) == property:
759 if hasattr(y, "fget"):
760 if hasattr(y.fget, "editor_attributes"):
761 group = y.fget.editor_attributes['group']
762 self.attributeGroups[group].container.children[x].set_value(getattr(self.__ref_widget, x))
763
764
765 def set_widget(self, widget):

Callers 1

set_widgetMethod · 0.95

Calls 1

set_valueMethod · 0.45

Tested by

no test coverage detected