def remove_item_at(self, i): GTabView.remove_item_at(self, i) _tab_ctrl = self._win gui.SendMessage(_tab_ctrl.GetSafeHwnd(), cc.TCM_DELETEITEM, i, 0)
def remove_item_at(self, i): GTabView.remove_item_at(self, i) _ns_tabview = self._ns_view count = _ns_tabview.numberOfTabViewItems() if i >= count or i < 0: return _ns_tabview.removeTabViewItem_(_ns_tabview.tabViewItems()[i]) self.tab_changed(self.selected_index)
def remove_item_at(self, i): GTabView.remove_item_at(self, i) _gtk_notebook = self._gtk_inner_widget _gtk_notebook.remove_page(i)