(self, para=None, callafter=None)
| 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 | |
| 42 | def show_wf(data, title): |
| 43 | wx.CallAfter(WorkFlow(title, data).start) |
nothing calls this directly
no test coverage detected