parameters: (self, table, groupnames=None)
return_statement: return widget
docstring: Add a new page to the notebook.
docstring_summary: Add a new page to the notebook.
docstring_tokens: Add a new page to the notebook .
function: def add_tablepage(self, table, groupnames=None):
          """
          Add a new page to the notebook.
          """
          # print 'context.add_view',ViewClass
          # print '  args',args
          widget = self.add_table(self.nb, table, objpanel=self, groupnames=groupnames, show_title=False)
          self.tablewidgets.append(widget)  # need that later for refresh
          # Add network tab with editor
          # print '\nadd_tablepage  name',type(table.get_name()),table.get_name(),table
          # try:
          #    print   '  try:',table.name.attrname
          # except:
          #    print '  ok'
  
          p = self.nb.AddPage(widget, table.get_name())
          self.pages[table.format_ident()] = widget
          # self.nb.SetSelection(p)
  
          return widget
function_tokens: def add_tablepage ( self , table , groupnames = None ) : # print 'context.add_view',ViewClass # print '  args',args widget = self . add_table ( self . nb , table , objpanel = self , groupnames = groupnames , show_title = False ) self . tablewidgets . append ( widget ) # need that later for refresh # Add network tab with editor # print '\nadd_tablepage  name',type(table.get_name()),table.get_name(),table # try: #    print   '  try:',table.name.attrname # except: #    print '  ok' p = self . nb . AddPage ( widget , table . get_name ( ) ) self . pages [ table . format_ident ( ) ] = widget # self.nb.SetSelection(p) return widget