Пример #1
0
    def __init__(self, parent, controller):
        self.console = tk.StringVar()
        tk.Frame.__init__(self, parent)
        frame.View(self, parent, controller)

        bottom = tk.Frame(self)
        bottom.pack(side='bottom')
        ttk.Button(bottom, text="Home", command=lambda: controller.show_frame(Index)).pack(pady=15)
Пример #2
0
    def __init__(self, parent, controller):

        self.console = tk.StringVar()
        tk.Frame.__init__(self, parent)
        frame.View(self, parent, controller, '"Laboratory"."Test material"')

        bottom = tk.Frame(self)
        bottom.pack(side='bottom')
        ttk.Button(bottom,
                   text="Back to vewx",
                   command=lambda: controller.show_frame(Index)).pack(pady=15)