Esempio n. 1
0
 def append(self, window):
     Frame.append(self, window)
     tab = Tab(self, window)
     window.tab = tab
     self.tabs.append(tab)
     if not self.visible():
         tab.hide()
     tab.set_text(window.get_title())
     # shouldn't some of the stuff above be moved into tab_manage?
     window.tab_manage()
Esempio n. 2
0
 def append( self, window ):
     Frame.append( self, window )
     tab = Tab( self, window )
     window.tab = tab
     self.tabs.append( tab )
     if not self.visible():
         tab.hide()
     tab.set_text( window.get_title() )
     # shouldn't some of the stuff above be moved into tab_manage?
     window.tab_manage()