Page_2.py 506 B

12345678910111213141516
  1. import tkinter as tk
  2. import tk_tools
  3. from .globals import *
  4. class Page_2(tk.Frame):
  5. def __init__(self, parent, controller):
  6. tk.Frame.__init__(self, parent)
  7. label = tk.Label(self, text="Kräfte", 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