Page_3.py 452 B

123456789101112
  1. import tkinter as tk
  2. import tk_tools
  3. class Page_3(tk.Frame):
  4. def __init__(self, parent, controller):
  5. tk.Frame.__init__(self, parent)
  6. label = tk.Label(self, text="Druck", font=LARGE_FONT)
  7. label.pack(pady=10,padx=10)
  8. button1 = tk.Button(self, text="Page_0", command=lambda: controller.show_frame(Page_0))
  9. button1.pack()
  10. button2 = tk.Button(self, text="Page_1", command=lambda: controller.show_frame(Page_1))
  11. button2.pack()