(self, tabWnd=None, tabTitle=None, tabImage=None)
| 38 | h(type, info) |
| 39 | |
| 40 | def AddPage(self, tabWnd=None, tabTitle=None, tabImage=None): |
| 41 | tabTitle = tabTitle or _t("Empty Tab") |
| 42 | if tabWnd is None: |
| 43 | tabWnd = gui.builtinViews.emptyView.BlankPage(self) |
| 44 | tabWnd.handleDrag = lambda type, info: self.handleDrag(type, info) |
| 45 | |
| 46 | ChromeNotebook.AddPage(self, tabWnd, tabTitle, tabImage, True) |
| 47 | |
| 48 | def DeletePage(self, n, *args, **kwargs): |
| 49 | ChromeNotebook.DeletePage(self, n, *args, **kwargs) |
no test coverage detected