environment/lib/python2.7/site-packages/IPython/frontend/qt/console/mainwindow.py
def add_tab_with_frontend(self,frontend,name=None):
        """ insert a tab with a given frontend in the tab bar, and give it a name

        """
        if not name:
            name = 'kernel %i' % self.next_kernel_id
        self.tab_widget.addTab(frontend,name)
        self.update_tab_bar_visibility()
        self.make_frontend_visible(frontend)
        frontend.exit_requested.connect(self.close_tab)
def add_tab_with_frontend(self,frontend,name=None):
        if not name:
            name = 'kernel %i' % self.next_kernel_id
        self.tab_widget.addTab(frontend,name)
        self.update_tab_bar_visibility()
        self.make_frontend_visible(frontend)
        frontend.exit_requested.connect(self.close_tab)
def add_tab_with_frontend ( self , frontend , name = None ) : if not name : name = 'kernel %i' % self . next_kernel_id self . tab_widget . addTab ( frontend , name ) self . update_tab_bar_visibility ( ) self . make_frontend_visible ( frontend ) frontend . exit_requested . connect ( self . close_tab )
insert a tab with a given frontend in the tab bar, and give it a name
insert a tab with a given frontend in the tab bar and give it a name