(self)
return
Rename a sheet
Rename a sheet
Rename a sheet
def rename_Sheet(self):
        """Rename a sheet"""

        #s = self.notebook.getcurselection()
        s = self.notebook.index(self.notebook.select())
        newname = simpledialog.askstring("New sheet name?", "Enter new sheet name:",
                                                initialvalue=s)
        if newname == None:
            return
        self.copy_Sheet(newname)
        self.delete_Sheet()
        return
def rename_Sheet ( self ) : #s = self.notebook.getcurselection() s = self . notebook . index ( self . notebook . select ( ) ) newname = simpledialog . askstring ( "New sheet name?" , "Enter new sheet name:" , initialvalue = s ) if newname == None : return self . copy_Sheet ( newname ) self . delete_Sheet ( ) return