parameters: (self)
docstring: Restores original view after a tab split.
docstring_summary: Restores original view after a tab split.
docstring_tokens: Restores original view after a tab split .
function: def UnSplit(self):
          """ Restores original view after a tab split. """
  
          self.Freeze()
  
          # remember the tab now selected
          nowSelected = self.GetSelection()
          # select first tab as destination
          self.SetSelection(0)
          # iterate all other tabs
          for idx in xrange(1, self.GetPageCount()):
              # get win reference
              win = self.GetPage(idx)
              # get tab title
              title = self.GetPageText(idx)
              # get page bitmap
              bmp = self.GetPageBitmap(idx)
              # remove from notebook
              self.RemovePage(idx)
              # re-add in the same position so it will tab
              self.InsertPage(idx, win, title, False, bmp)
          # restore orignial selected tab
          self.SetSelection(nowSelected)
  
          self.Thaw()
function_tokens: def UnSplit ( self ) : self . Freeze ( ) # remember the tab now selected nowSelected = self . GetSelection ( ) # select first tab as destination self . SetSelection ( 0 ) # iterate all other tabs for idx in xrange ( 1 , self . GetPageCount ( ) ) : # get win reference win = self . GetPage ( idx ) # get tab title title = self . GetPageText ( idx ) # get page bitmap bmp = self . GetPageBitmap ( idx ) # remove from notebook self . RemovePage ( idx ) # re-add in the same position so it will tab self . InsertPage ( idx , win , title , False , bmp ) # restore orignial selected tab self . SetSelection ( nowSelected ) self . Thaw ( )