(self, parent, controller)
| 47 | |
| 48 | class std_ca(tk.Frame): |
| 49 | def __init__(self, parent, controller): |
| 50 | tk.Frame.__init__(self, parent) |
| 51 | # Label of frame layout 1 |
| 52 | label_lp = ttk.Label( |
| 53 | self, |
| 54 | text="You are Student or College Authority ?", |
| 55 | font=("Times New Roman", 36), |
| 56 | ) |
| 57 | label_lp.place(x=400, y=100) |
| 58 | button_std = ttk.Button( |
| 59 | self, text="Student", command=lambda: controller.show_frame(LandPage) |
| 60 | ) |
| 61 | button_std.place(x=550, y=200, height=60, width=150) |
| 62 | |
| 63 | button_ca = ttk.Button( |
| 64 | self, |
| 65 | text="College Authority", |
| 66 | command=lambda: controller.show_frame(LandPage), |
| 67 | ) |
| 68 | button_ca.place(x=800, y=200, height=60, width=150) |
| 69 | |
| 70 | |
| 71 | # first window frame startpage |
nothing calls this directly
no test coverage detected