Sep-27-2022, 01:50 PM
Finally I found a solution:
class CustomFrames(tk.Frame): def __init__(self,parent): super().__init__(parent) #self.parent.add(self.frame, text="Start ") notebook1.add(self, text="Start ") # add a tab to the notebook frame01Start=CustomFrames(notebook1)