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

Method set_para

imagepy/ui/widgets/normal.py:304–309  ·  view source on GitHub ↗
(self, rang, accury)

Source from the content-addressed store, hash-verified

302 self.f = f
303
304 def set_para(self, rang, accury):
305 self.min = round(rang[0], accury)
306 self.max = round(rang[1], accury)
307 self.lab_min.SetLabel(str(round(rang[0],accury)))
308 self.lab_max.SetLabel(str(round(rang[1],accury)))
309 self.accury = accury
310
311 def on_scroll(self, event):
312 value = self.slider.GetValue()#self.slider.GetThumbPosition() if self.linux else

Callers 3

__init__Method · 0.95
on_8bitMethod · 0.80
on_minmaxMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected