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

Method add_page

imagepy/ui/tableframe.py:85–87  ·  view source on GitHub ↗
(self, panel, tps)

Source from the content-addressed store, hash-verified

83 self.Bind( aui.EVT_AUINOTEBOOK_PAGE_CLOSE, self.on_close)
84
85 def add_page(self, panel, tps):
86 self.AddPage(panel, tps.title, True, wx.NullBitmap )
87 panel.set_handler(lambda tps, pan=panel: self.set_title(tps, pan))
88
89 def set_title(self, tps, panel):
90 title = tps.title

Callers 2

showipsFunction · 0.45
showtableFunction · 0.45

Calls 2

set_titleMethod · 0.95
set_handlerMethod · 0.45

Tested by

no test coverage detected