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

Method __init__

imagepy/ui/mkdownwindow.py:204–209  ·  view source on GitHub ↗
(self, parent, title, cont, url)

Source from the content-addressed store, hash-verified

202
203class MkDownWindow(wx.Frame):
204 def __init__(self, parent, title, cont, url):
205 wx.Frame.__init__ (self, parent, id = wx.ID_ANY, title = title, size = wx.Size(500,500))
206 logopath = os.path.join(root_dir, 'data/logo.ico')
207 self.SetIcon(wx.Icon(logopath, wx.BITMAP_TYPE_ICO))
208 cont = '\n'.join([i.strip() for i in cont.split('\n')])
209 HtmlPanel(self, md2html(cont), url)

Callers

nothing calls this directly

Calls 3

HtmlPanelClass · 0.85
md2htmlFunction · 0.85
__init__Method · 0.45

Tested by

no test coverage detected