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

Function back_to_main_from_page2

bank_managment_system/frontend.py:694–708  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

692# main page for employees
693def page2():
694 def back_to_main_from_page2():
695 frame1.grid_forget()
696 global frame
697 frame = Frame(tk, bg="black")
698 frame.grid(padx=500, pady=250)
699
700 button = Button(frame, text="Admin", command=admin_login)
701 button.grid(row=0, pady=20)
702
703 button = Button(frame, text="Employee", command=employee_login)
704 button.grid(row=1, pady=20)
705
706 button = Button(frame, text="Exit", command=tk.destroy)
707 button.grid(row=2, pady=20)
708 tk.mainloop()
709
710 frame.grid_forget()
711 global frame1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected