(self, parent, controller)
| 73 | |
| 74 | class LandPage(tk.Frame): |
| 75 | def __init__(self, parent, controller): |
| 76 | tk.Frame.__init__(self, parent) |
| 77 | # label of frame Layout 2 |
| 78 | label = ttk.Label(self, text="Welcome..!!", font=LARGEFONT) |
| 79 | label1 = ttk.Label(self, text="New User? Create New Account", font=24) |
| 80 | label.place(x=620, y=10) |
| 81 | label1.place(x=620, y=100) |
| 82 | |
| 83 | button1 = ttk.Button( |
| 84 | self, |
| 85 | text="Create New Account", |
| 86 | command=lambda: controller.show_frame(accnt), |
| 87 | ) |
| 88 | button1.place(x=550, y=200, height=60, width=150) |
| 89 | |
| 90 | button2 = ttk.Button( |
| 91 | self, text="Login", command=lambda: controller.show_frame(lgin) |
| 92 | ) |
| 93 | button2.place(x=800, y=200, height=60, width=150) |
| 94 | |
| 95 | button_back = ttk.Button( |
| 96 | self, text="Back", command=lambda: controller.show_frame(std_ca) |
| 97 | ) |
| 98 | button_back.place(x=680, y=300, height=60, width=150) |
| 99 | |
| 100 | |
| 101 | # second window frame page1 |
nothing calls this directly
no test coverage detected