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

Method start

imagepy/core/engine/workflow.py:30–40  ·  view source on GitHub ↗
(self, para=None, callafter=None)

Source from the content-addressed store, hash-verified

28 return self
29
30 def start(self, para=None, callafter=None):
31 pan = WorkFlowPanel(IPy.curapp)
32 pan.load(self.cont, self.workflow)
33 info = aui.AuiPaneInfo(). DestroyOnClose(True). Left(). Caption(self.title) .PinButton( True ) \
34 .Resizable().FloatingSize( wx.DefaultSize ).Dockable(IPy.uimode()=='ipy').Layer( 5 )
35
36 if IPy.uimode()=='ipy': info.Dock().Top()
37 if IPy.uimode()=='ij': info.Float()
38 IPy.curapp.auimgr.AddPane(pan, info)
39 IPy.curapp.Layout()
40 IPy.curapp.auimgr.Update()
41
42def show_wf(data, title):
43 wx.CallAfter(WorkFlow(title, data).start)

Callers

nothing calls this directly

Calls 2

loadMethod · 0.95
WorkFlowPanelClass · 0.90

Tested by

no test coverage detected