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

Method start

imagepy/core/engine/free.py:44–54  ·  view source on GitHub ↗
(self, para=None, callback=None)

Source from the content-addressed store, hash-verified

42 return dialog.ShowModal() == wx.ID_OK
43
44 def start(self, para=None, callback=None):
45 if not self.load():return
46 if para!=None or self.show():
47 if para==None:para = self.para
48 win = WidgetsManager.getref('Macros Recorder')
49 if win!=None:
50 win.write('{}>{}'.format(self.title, para))
51 if self.asyn and IPy.uimode()!='no':
52 threading.Thread(target = self.runasyn, args = (para, callback)).start()
53 else:
54 self.runasyn(para, callback)

Callers

nothing calls this directly

Calls 5

loadMethod · 0.95
showMethod · 0.95
runasynMethod · 0.95
getrefMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected