示例#1
0
文件: TabView.py 项目: tomihasa/pygui
 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)
示例#2
0
文件: TabView.py 项目: tomihasa/pygui
    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)
示例#3
0
文件: TabView.py 项目: tomihasa/pygui
    def remove_item_at(self, i):
        GTabView.remove_item_at(self, i)
        _gtk_notebook = self._gtk_inner_widget

        _gtk_notebook.remove_page(i)