(self, parent)
| 77 | |
| 78 | class TableNoteBook(aui.AuiNotebook): |
| 79 | def __init__(self, parent): |
| 80 | aui.AuiNotebook.__init__( self, parent, wx.ID_ANY, |
| 81 | wx.DefaultPosition, wx.DefaultSize, aui.AUI_NB_DEFAULT_STYLE ) |
| 82 | self.Bind( aui.EVT_AUINOTEBOOK_PAGE_CHANGED, self.on_pagevalid) |
| 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 ) |