Page_4.py 511 B

123456789101112131415
  1. import tkinter as tk
  2. import tk_tools
  3. from .globals import *
  4. class Page_4(tk.Frame):
  5. def __init__(self, parent, controller):
  6. tk.Frame.__init__(self, parent)
  7. label = tk.Label(self, text="Einstellungen", font=LARGE_FONT)
  8. label.pack(pady=10,padx=10)
  9. button1 = tk.Button(self, text="Page_0", command=lambda: controller.show_frame(Page_0))
  10. button1.pack()
  11. button2 = tk.Button(self, text="Page_1", command=lambda: controller.show_frame(Page_1))
  12. button2.pack()
  13. def update(self):
  14. pass