MCPcopy Create free account
hub / github.com/Image-Py/imagepy / reset

Method reset

imagepy/ui/panelconfig.py:108–113  ·  view source on GitHub ↗
(self, para=None)

Source from the content-addressed store, hash-verified

106 self.handle(para)
107
108 def reset(self, para=None):
109 if para!=None:self.para = para
110 #print(para, '====')
111 for p in list(self.para.keys()):
112 if p in self.ctrl_dic:
113 self.ctrl_dic[p].SetValue(self.para[p])
114
115 def get_para(self):
116 return self.para

Callers 1

init_viewMethod · 0.95

Calls 1

SetValueMethod · 0.45

Tested by

no test coverage detected