MCPcopy Create free account
hub / github.com/geekcomputers/Python / back_to_main

Function back_to_main

bank_managment_system/frontend.py:1086–1102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1084
1085
1086def back_to_main():
1087 page1_frame.grid_forget()
1088 global frame
1089 frame = Frame(tk, bg="black")
1090 frame.grid(padx=500, pady=250)
1091
1092 button = Button(frame, text="Admin", command=admin_login)
1093 button.grid(row=0, pady=20)
1094
1095 button = Button(frame, text="Employee", command=employee_login)
1096 button.grid(row=1, pady=20)
1097
1098 button = Button(frame, text="Exit", command=tk.destroy)
1099 button.grid(row=2, pady=20)
1100 tk.mainloop()
1101
1102 mainloop()
1103
1104
1105# mai page for admin

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected