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

Method show

imagepy/core/engine/table.py:38–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

36 tps.update()
37
38 def show(self):
39 if self.view==None:return True
40 self.dialog = ParaDialog(IPy.get_twindow(), self.title)
41 self.dialog.init_view(self.view, self.para, 'preview' in self.note, modal=self.modal)
42 self.dialog.on_help = lambda : IPy.show_md(self.title, DocumentManager.get(self.title))
43 self.dialog.set_handle(lambda x:self.preview(self.tps, self.para))
44 if self.modal: return self.dialog.ShowModal() == wx.ID_OK
45 self.dialog.on_ok = lambda : self.ok(self.tps)
46 self.dialog.on_cancel = lambda : self.cancel(self.tps)
47 self.dialog.Show()
48
49 def run(self, tps, snap, data, para = None):pass
50

Callers 1

startMethod · 0.95

Calls 7

previewMethod · 0.95
okMethod · 0.95
cancelMethod · 0.95
ParaDialogClass · 0.85
init_viewMethod · 0.80
getMethod · 0.45
set_handleMethod · 0.45

Tested by

no test coverage detected